Lewis Hamilton of Britain leaps off his car as he celebrates after winning the Singapore Formula One Grand Prix. Pictures: Yong Teck Lim / AP Photo.

Singapore - Lewis Hamilton won a chaotic and rain-hit Singapore Grand Prix on Sunday to seize control of the Formula One world championship as his title rival Sebastian Vettel crashed out on the first lap.

Ferrari's Vettel and Kimi Raikkonen, and Red Bull's Max Verstappen all went out just after the start of the first wet race in Singapore, which saw three safety cars and finished with only 12 drivers.

It all played perfectly into the hands of Mercedes driver Hamilton, who went from fifth on the grid to first and held off Red Bull's Daniel Ricciardo to clinch his third win in a row.

With his 60th race victory and seventh this season, Hamilton - who had said he needed a "miracle" after struggling in qualifying - stands 28 points ahead of Vettel with six grands prix left this year.

"Guys what can I say - what a turn-around today! Fantastic job with the team strategy," Hamilton said over the radio, before leaping out of his car and hugging his engineers.

"God blessed me today, for sure," he said later, dripping with champagne. "I capitalised on the incident - who would have known that would happen? 

"It was really unfortunate for the Ferraris but a great result for the (Mercedes) team."

Ricciardo had to settle for second, while Hamilton's team-mate Valtteri Bottas was third and Toro Rosso's Carlos Sainz finished fourth.

Some drivers had expressed concerns about visibility in the wet under floodlights, but the night race had hardly started when it lost three of the first four cars on the grid.

Raikkonen ploughed into Red Bull's Verstappen on the first corner, taking both cars out of the race and also heavily shunting Fernando Alonso's McLaren.

Pole-sitter Vettel, who had been looking to reclaim the world championship lead from Hamilton, spun further ahead and lost his front wing, a crash that also ended his race.

"Obviously it sucks being on the wrong side of the track now, but that's what it is," Vettel shrugged after returning to the paddock.

'Another safety car?'

But Hamilton dodged the pile-up and he progressed from fifth on the grid to first, ahead of Ricciardo, as the race finally restarted after a safety car.

Alonso lasted just a few laps before the damage sustained at the first corner forced him to retire, and Toro Rosso's Daniil Kvyat became the fifth man out when he ploughed nose-first into a barrier - prompting a second safety car.

Mercedes declined to pit Hamilton under the safety car but after the restart, he reeled off a string of fastest laps on the slowly drying track, extending his lead over Ricciardo.

Ricciardo and then Hamilton pitted for ultra-soft tyres after laps 28 and 29 and the Briton emerged 8.7 seconds ahead with 50 minutes left on an increasingly quick track.

Hamilton had a healthy advantage of 9.6 seconds when Sauber's Marcus Ericsson spun and stopped on Anderson Bridge, bringing out a third safety car and wiping out the Briton's lead.

"Why another safety car?" Hamilton grumbled over the team radio.

But Hamilton shot off after the restart to maintain the gap from Ricciardo and as he finally took the chequered flag, the grandstand came to its feet and fireworks lit up the night sky.

Nico Hulkenberg and Kevin Magnussen both retired late in the race to bring the total number of casualties to eight. -AFP

RESULTS

1. Lewis Hamilton (Britain) Mercedes 2:03:23.543 

2. Daniel Ricciardo (Australia) Red Bull - TAG Heuer +00:04.507 

3. Valtteri Bottas (Finland) Mercedes 00:08.800 

4. Carlos Sainz Jr (Spain) Toro Rosso - Renault 00:22.822 

5. Sergio Perez (Mexico) Force India - Mercedes 00:25.359 

6. Jolyon Palmer (Britain) Renault 00:27.259 

7. Stoffel Vandoorne (Belgium) McLaren 00:30.388 

8. Lance Stroll (Canada) Williams-Mercedes 00:41.696 

9. Romain Grosjean (France) Haas - Ferrari 00:43.282 

10. Esteban Ocon (France) Force India - Mercedes 00:44.795 

11. Felipe Massa (Brazil) Williams-Mercedes 00:46.536 

12. Pascal Wehrlein (Germany) Sauber - Ferrari 2 laps

RETIREMENTS

Kevin Magnussen (Denmark) Haas - Ferrari 7 laps

Nico Huelkenberg (Germany) Renault 10 laps

Marcus Ericsson (Sweden) Sauber - Ferrari 22 laps

Daniil Kvyat (Russia) Toro Rosso - Renault 47 laps

Fernando Alonso (Spain) McLaren 49 laps

Sebastian Vettel (Germany) Ferrari 57 laps

Max Verstappen (Netherlands) Red Bull - TAG Heuer 57 laps

Kimi Raikkonen (Finland) Ferrari 57 laps 

FASTEST LAP

Lewis Hamilton,1:45.008, lap 55.

DRIVER STANDINGS

1. Lewis Hamilton (Britain) Mercedes 263 

2. Sebastian Vettel (Germany) Ferrari 235 

3. Valtteri Bottas (Finland) Mercedes 212 

4. Daniel Ricciardo (Australia) Red Bull 162 

5. Kimi Raikkonen (Finland) Ferrari 138 

6. Max Verstappen (Netherlands) Red Bull 68 

7. Sergio Perez (Mexico) Force India 68 

8. Esteban Ocon (France) Force India 56 

9. Carlos Sainz Jr (Spain) Toro Rosso 48 

10. Nico Huelkenberg (Germany) Renault 34 

11. Felipe Massa (Brazil) Williams 31 

12. Lance Stroll (Canada) Williams 28 

13. Romain Grosjean (France) Haas 26 

14. Kevin Magnussen (Denmark) Haas 11 

15. Fernando Alonso (Spain) McLaren 10 

16. Jolyon Palmer (Britain) Renault 8 

17. Stoffel Vandoorne (Belgium) McLaren 7 

18. Pascal Wehrlein (Germany) Sauber 5 

19. Daniil Kvyat (Russia) Toro Rosso 4 

20. Marcus Ericsson (Sweden) Sauber 0 

21. Antonio Giovinazzi (Italy) Sauber 0 

CONSTRUCTOR STANDINGS

1. Mercedes 475 

2. Ferrari 373 

3. Red Bull - TAG Heuer 230 

4. Force India - Mercedes 124 

5. Williams-Mercedes 59 

6. Toro Rosso - Renault 52 

7. Renault 42 

8. Haas - Ferrari 37 

9. McLaren 17 

10. Sauber - Ferrari 5