Sergio Perez of Red Bull finished second, with Mercedes' George Russell rounding out the podium.
The Monegasque driver put in a scintillating final flying lap which saw him record a time of 1:17.868s.
Mercedes has been lagging behind Ferrari and Red Bull in the first two rounds of the 2022 Formula One season as it tries to solve the porpoising issue.
David Coulthard believes that George Russell has done an exceptional job so far with the car that he has been given.
Lewis Hamilton, the seven-time world champion, admitted his team has their work cut out for them this year after finishing 10th in Saudi Arabia.
Mercedes, who had won the previous eight Constructors' Championships, is now scraping for whatever points they can.
With a second wind in the closing stages, Charles Leclerc set the fastest lap, but reigning champion Max Verstappen kept him at bay.
The Ferraris of Charles Leclerc and Carlos Sainz secured P2 and P3 respectively while reigning champion Max Verstappen could only manage P4.
He was 1.4 seconds slower than Ferrari's Carlos Sainz's fastest lap and 0.6 seconds slower than new teammate George Russell.
The 2022 Formula 1 season got underway with the Bahrain GP where Ferrari claimed a 1-2 finish and Red Bull struggled for pace and reliability.