However, as Perez dived into Turn 2 he tangled with Sainz with the two crashing into the wall, ruining Red Bull's chances of maintaining a lead over McLaren in the constructors' championship.
Both drivers were unharmed following the crash, but it will come as a huge blow to Perez who looked set to claim his first podium since the Chinese GP.
Sainz and Perez had also been noted by the stewards twice during practice for impeding, with the pair given warnings on each occasion.
The incident brought out a Virtual Safety Car leaving no time for further racing, with the chequered flag waved.
Oscar Piastri won the Azerbaijan GP after producing a spectacular overtake on Leclerc to take the lead earlier in the race.
TheFerrariand McLaren battled intensely in Baku, until Leclerc's tyre performance fell off, allowing Piastri to drive off into the distance as the Monegasque star fell prey to Perez.