Lewis Hamilton edged his Mercedes team mate on his final flying lap to secure pole position for the Singapore Grand Prix, the Briton crossing the line just 0.007 seconds ahead of the German.
Hamilton, who trails Rosberg by 22 points with six races remaining, lapped the 23-turn Marina Bay Street Circuit in one minute 45.681 seconds after his team mate had crossed the line in 1:45.688.
Daniel Ricciardo was third fastest in 1:45.854 as Red Bull locked up the second row with the Australian's team mate and three-time winner in Singapore Sebastian Vettel clocking 1:45.902 to claim fourth on the grid.
Ferrari's Fernando Alonso was fifth, just ahead of Felipe Massa's Williams.
1. Lewis Hamilton (Britain) Mercedes 1:45.681 2. Nico Rosberg (Germany) Mercedes 1:45.688 3. Daniel Ricciardo (Australia) RedBull - Renault 1:45.854 4. Sebastian Vettel (Germany) RedBull - Renault 1:45.902 5. Fernando Alonso (Spain) Ferrari 1:45.907 6. Felipe Massa (Brazil) Williams-Mercedes 1:46.000 7. Kimi Raikkonen (Finland) Ferrari 1:46.170 8. Valtteri Bottas (Finland) Williams-Mercedes 1:46.187 9. Kevin Magnussen (Denmark) McLaren 1:46.250 10. Daniil Kvyat (Russia) Toro Rosso - Renault 1:47.362 - - - - - - - - - - 11. Jenson Button (Britain) McLaren 1:46.943 12. Jean-Eric Vergne (France) Toro Rosso - Renault 1:46.989 13. Nico Huelkenberg (Germany) Force India - Mercedes 1:47.308 14. Esteban Gutierrez (Mexico) Sauber - Ferrari 1:47.333 15. Sergio Perez (Mexico) Force India - Mercedes 1:47.575 16. Romain Grosjean (France) Lotus - Renault 1:47.812 - - - - - - - - - - 17. Adrian Sutil (Germany) Sauber - Ferrari 1:48.324 18. Pastor Maldonado (Venezuela) Lotus - Renault 1:49.063 19. Jules Bianchi (France) Marussia - Ferrari 1:49.440 20. Kamui Kobayashi (Japan) Caterham - Renault 1:50.405 21. Max Chilton (Britain) Marussia - Ferrari 1:50.473 22. Marcus Ericsson (Sweden) Caterham - Renault 1:52.287 - - - - - - - - - -