Sebastian Vettel has won the Singapore Grand Prix to move ahead of Ayrton Senna's tally of 41 victories in the sport.
Lewis Hamilton retired from the race after 33 laps due to an apparent pedal issue, with Nico Rosberg finishing in fourth to reduce Hamilton's lead at the top of the drivers' championship to 41 points.
Red Bull's Daniel Ricciardo finished the race in second, with Kimi Raikkonen coming in at third for Ferrari.
Williams driver Felipe Massa and Force India's Nico Hulkenberg dropped out after a pit lane exit collision, while McLaren's Fernando Alonso also ended his race early due to a suspected gearbox failure.
Jenson Button and Pastor Maldonado collided dangerously after 42 laps, with Button's front wing coming close to striking the helmet of Carlos Sainz as a result.
Button, going positively before his collision with Maldonado, then retired in the closing stages due to an overheating gearbox as McLaren finished with a fourth double-retirement of the season.
Results in full:
1. Sebastian Vettel (Ferrari)
2. Danny Ricciardo (Red Bull)
3. Kimi Raikkonen (Ferrari)
4. Nico Rosberg (Mercedes)
5. Valtteri Bottas (Williams)
6. Daniil Kyvat (Red Bull)
7. Sergio Perez (Force India)
8. Max Verstappen (Toro Rosso)
9. Carlos Sainz Jr (Toro Rosso)
10. Felipe Nasr (Sauber)
11. Marcus Ericsson (Sauber)
12. Pastor Maldonado (Lotus)
13. Romain Grosjean (Lotus)
14. Alexander Rossi (Manor)
15. Will Stevens (Manor)
Did not finish: Lewis Hamilton, Felipe Massa, Nico Hulkenberg, Fernando Alonso, Jenson Button