Charles Leclerc put the Ferrari fourth, while Valtteri Bottas was only eighth in the second Mercedes.