Hamilton claimed pole for F1's Russian GP despite nearly not setting a Q2 lap after Vettel crashed, Verstappen beat Bottas to second.

Hamilton also faces a post-qualifying investigation for a track limits violation – along with Nicholas Latifi, Romain Grosjean and Kevin Magnussen – in Q1, and is the only driver in the top three who will start the race on the unfancied soft rubber as a result of his Q2 near-miss.

In that session, where spots of rain were reported early on, Mercedes sent both of its cars out on the medium tyres, as Red Bull did with Verstappen, but both Hamilton and Bottas were forced to do second runs on the harder rubber as the former had his time deleted for a track limits violation at the final corner and the latter's first effort was underwhelming.

Bottas was then able set a time good enough to get him through to Q3, but Hamilton had to abort his second run when Vettel crashed at Turn 4 and the session was suspended.

The Ferrari driver appeared to clip the kerb on the inside of the right hander and the rear quickly got away from him, spinning into the wall on the outside and knocking his front wing – which was struck by the closely following Leclerc – and his right front wheel.

When the session restarted, Mercedes sent Hamilton out on soft tyres, which means Bottas will start on the opposite strategy on the medium tyres along with Verstappen, who headed the pack urgently getting to the line to complete a final run with 2m15s on the clock after Vettel's crash.

Verstappen was also running softs and looked to be improving on his previous Q2 best on the mediums, but he abandoned his run so he will take the start on the harder rubber, which is expected to be a better race tyre in what will be one-stop event.

Hamilton, who slide wide at Turn 2 on his out lap as he ran down the queue of cars desperately trying to make it into the top 10 shootout, crossed the line with barely a second remaining on the clock.

But he was able race around and get through with the fourth fastest time in Q2, which was headed by Ricciardo, with the last lap set and knock out a frustrated Charles Leclerc as a result.

In Q3, Hamilton led the way with a 1m31.391s, while Bottas had to close a 0.793s gap after the opening runs in the final shootout.

The Finn did improve on his final run, despite clouting the kerb at the exit of Turn 2, but was still 0.5s behind even before Hamilton completed his final lap – 1m31.304s, which is a new track record and gives him his first pole in Sochi since 2014.

Verstappen set his final lap much later than the two Mercedes and was running fractionally behind Bottas in the opening two sectors before he surged ahead with a rapid final sector to join Hamilton on the front row.

Sergio Perez will start fourth ahead of Daniel Ricciardo and Carlos Sainz, while Esteban Ocon, Lando Norris, Pierre Gasly and Alex Albon rounded out the top 10.

Daniil Kvyat took 12th for AlphaTauri ahead of Lance Stroll, who was pushed out of the queue before the urgent final Q2 laps with a suspected issue, and George Russell and Vettel.

Russell set his sole lap in Q2 when he ran solo during a mid-session lull before Vettel's crash and he went 0.5s quicker than his Q1 time to make it out of the opening segment for the first time in three races.

In Q1, Russell's last-gasp improvement to reach Q2 knocked out Romain Grosjean, who will start 16th, as the Ferraris scraped through in P14 and P15 in the opening segment.

Antonio Giovinazzi ended up 17th ahead of Kevin Magnussen and Nicholas Latifi, who, along with Grosjean, went into the final Q1 runs without a time set after being among the group of runners – also including Hamilton, Gasly and Magnussen – who had their opening laps deleted for cutting the kerbs at Turn 2.

Kimi Raikkonen qualified last for the race where he will equal Rubens Barrichello's record for most F1 starts – assuming he takes the start on Sunday – after spinning on his full lap.

Raikkonen went into a 360 spin after striking the orange track limits deterrent kerb at the Turn 2 apex, which looped him around and he toured slowly around the inside of the ensuing long Turn 3 to avoid disrupting those cars following the Alfa Romeo.

Cla Driver Chassis Time Gap
1 United Kingdom Lewis Hamilton Mercedes 1'31.304  
2 Netherlands Max Verstappen Red Bull 1'31.867 0.563
3 Finland Valtteri Bottas Mercedes 1'31.956 0.652
4 Mexico Sergio Perez Racing Point 1'32.317 1.013
5 Australia Daniel Ricciardo Renault 1'32.364 1.060
6 Spain Carlos Sainz Jr. McLaren 1'32.550 1.246
7 France Esteban Ocon Renault 1'32.624 1.320
8 United Kingdom Lando Norris McLaren 1'32.847 1.543
9 France Pierre Gasly AlphaTauri 1'33.000 1.696
10 Thailand Alex Albon Red Bull 1'33.008 1.704
11 Monaco Charles Leclerc Ferrari 1'33.239 1.935
12 Russian Federation Daniil Kvyat AlphaTauri 1'33.249 1.945
13 Canada Lance Stroll Racing Point 1'33.364 2.060
14 United Kingdom George Russell Williams 1'33.583 2.279
15 Germany Sebastian Vettel Ferrari 1'33.609 2.305
16 France Romain Grosjean Haas 1'34.592 3.288
17 Italy Antonio Giovinazzi Alfa Romeo 1'34.594 3.290
18 Denmark Kevin Magnussen Haas 1'34.681 3.377
19 Canada Nicholas Latifi Williams 1'35.066 3.762
20 Finland Kimi Raikkonen Alfa Romeo 1'35.267 3.963