Nico Rosberg held off a dramatic late charge from Daniel Ricciardo to win the Singapore Grand Prix and move ahead of Lewis Hamilton in the title race.
Hamilton, who has been off colour all weekend at the Marina Bay street circuit, is now eight points behind his sole championship rival after he crossed the line only in third.
At one stage it looked as though it may be even worse for the Briton after an error midway through the race allowed Kimi Raikkonen to move ahead of him.
But a decision by Hamilton's Mercedes team to pit him for a third time saw the world champion move back ahead of Ferrari's Raikkonen and seal the final spot on the podium.
Nico Rosberg left a beleaguered Lewis Hamilton trailing in his wake after he secured pole position for the Singapore Grand Prix in emphatic fashion.
Rosberg, who will start his 200th Formula One race on Sunday, was a crushing seven tenths of a second faster than an off-colour Hamilton would could qualify only third at the Marina Bay street circuit.
Daniel Ricciardo split the championship rivals after he hauled his Red Bull on to the front row, albeit half a second adrift of Rosberg's outstanding lap.
Nico Rosberg moved to within two points of Lewis Hamilton in the title race after taking advantage of the world champion's terrible startRead the full story ›
Home favourite Nico Rosberg will start on pole for Sunday's German Grand Prix after edging out his title rival Lewis Hamilton.
Rosberg, six points behind Hamilton in the championship, had been fastest in all three practice sessions at Hockenheim, and he made it count where it matters to secure his second pole in as many grands prix.
Daniel Ricciardo qualified third for Red Bull while his team-mate Max Verstappen will start from fourth.
Nico Rosberg has extended his stay with Mercedes after signing a new two-year contract.
The deal will see the 31-year-old German, who currently leads the championship, partner Lewis Hamilton until the end of 2018.
Rosberg holds a one-point lead over Hamilton heading into Sunday's Hungarian Grand Prix.
Lewis Hamilton and Nico Rosberg will be free to race for the remainder of the Formula One season, Mercedes have said in a statement.
Hamilton and Rosberg, who crashed on the final lap of the Austrian Grand Prix, were hauled in front of Mercedes bosses Toto Wolff and Paddy Lowe at the team's Brackley headquarters for crisis talks on Thursday.
A furious Wolff had threatened to impose team orders following their third collision in five races, but Rosberg and Hamilton, who the German leads by 11 points heading into Sunday's British Grand Prix, are now set to continue their battle on the track.
Mercedes did stress, however, that team orders could still be used as a "last resort".
Lewis Hamilton won the Austrian Grand Prix after a dramatic last-lap collision with championship rival Nico Rosberg.Read the full story ›
Rosberg appeared on course to claim his sixth victory of the season, but crashed into Hamilton as the Briton attempted to pass himRead the full story ›
Lewis Hamilton and Nico Rosberg are out of the Spanish Grand Prix after they collided on the opening lap.
Hamilton, starting from pole position, lost the lead to Rosberg and in attempting to pass his Mercedes team-mate he ran on to the grass at turn three.
The world champion then lost control of his car, spun, and crashed into Rosberg. Both drivers ended up in the gravel trap at turn four with Hamilton holding his head in his hands.
Lewis Hamilton's troubled defence to his Formula One title took another twist on Saturday after an engine failure prevented him from battling for pole position for Sunday's Russian Grand Prix.
Hamilton, already under investigation from the stewards for failing to negotiate a block placed in the run-off area at turn two, is set to start only 10th.
And to make matters worse for the triple world champion, Nico Rosberg, whom he trails by 36 points in the race for the title, claimed pole to leave him as the overwhelming favourite to seal his fourth victory from as many grands prix this season.
Ferrari's Sebastian Vettel qualified second, but his five-placed grid penalty promotes the Williams of Valtteri Bottas on to the front row with Kimi Raikkonen (Ferrari) third.