Lewis Hamilton took pole position for the Saudi Arabian Grand Prix ahead of team-mate Valtteri Bottas, with Max Verstappen starting from third on the grid.