Gerard Piqué got 10-man Barcelona out of jail as their 100 per cent start to the season was ended by battling Girona.

Barça looked to be cruising when Lionel Messi’s eighth goal of the campaign gave them an early lead but the defender Clement Lenglet’s 35th-minute dismissal was compounded by Cristhian Stuani’s equaliser before the break.

Stuani doubled his tally six minutes into the second half as the visitors threatened to pull off a major shock in the Catalan derby but the central defender Pique clinched a 2-2 draw which sent his side back to the top of the La Liga table on goal difference with a 63rd-minute header.

The visitors, buoyed by back-to-back victories, started brightly and might have taken the lead with just five minutes gone when defender Bernardo Espinosa found himself unmarked in the box, but planted his header firmly into the arms of the keeper Marc-André ter Stegen.

Marco Asensio winner against Espanyol sends Real Madrid top of La Liga Read more

However, Barça slipped quickly into gear and it took a fingertip save from the Girona goalkeeper, Yassine Bounou, to repel Messi’s shot after he had skipped past three men as he cut across the face of the penalty area.

But there was nothing the keeper could do to deny the Argentina international when Arturo Vidal laid a 19th-minute ball into his path and saw him sweep a shot past Bounou to open the scoring.

Bounou prevented Luis Suárez from increasing the lead after Messi had expertly picked out the Uruguayan but the visitors were almost back in it with 29 minutes gone when Cristian Portu rounded Ter Stegen, only for Piqué to clear his effort off the line.

Barça were dealt a blow 10 minutes before the break when the referee, Gil Manzano, with the aid of the video assistant referee, dismissed Lenglet for an elbow on Riera Pere Pons and they were made to pay on the stroke of half-time.

Stuani managed to get between Piqué and the emergency central defender, Sergio Busquets, and his control was excellent as he set himself to beat Ter Stegen.

Barça manager, Ernesto Valverde, moved to strengthen his rearguard at the break when he sent on Samuel Umtiti and withdrew the midfielder Ousmane Dembélé.

Girona v Barcelona 90% likely to be played in Miami, says La Liga president Read more

But the Nou Camp was stunned into silence within six minutes of the restart when, after Ter Stegen had blocked Portu’s shot, Stuani rammed in the rebound.

Valverde’s response was to introduce Ivan Rakitic and Philippe Coutinho in place of Arthur and Vidal but it was Messi who nearly dragged the home side back into it with a curling 60th-minute free-kick which rattled the crossbar with Bounou beaten.

Barcelona were level within three minutes when Suárez got to Messi’s cross ahead of Bounou and saw his shot loop up off the keeper for Piqué to head home.

Girona found themselves under the cosh as time ran down, with Umtiti seeing an 80th-minute attempt blocked and Coutinho testing Bounou from distance, but they managed to hang on to claim a point.