Barcelona fought back from two goals down to beat Villarreal 3-2 at the Spotify Camp Nou on Sunday, scoring three times in 10 second-half minutes to restore their three-point lead at the top of La Liga.

Villarreal stunned the league leaders inside seven minutes. Tajon Buchanan opened the scoring in the fifth minute, pouncing on a misplaced pass from Fermín López and firing a long-range effort beyond goalkeeper Joan García, and Tani Oluwaseyi doubled the lead two minutes later, racing on to Alberto Moleiro's pass from inside his own half and finishing from a tight angle. Barcelona had a way back in the 20th minute when Lamine Yamal won a penalty after a VAR check, Oluwaseyi leaving a trailing leg to bring the winger down, but the 19-year-old struck the post with the spot kick in the 23rd minute and the visitors held their two-goal advantage to half-time.

The comeback began in controversial fashion. Barcelona took a corner quickly in the 57th minute after João Cancelo's strike had hit the woodwork, and Pedri's cross was flicked home by Gerard Martín — even though the corner had been awarded by referee Alejandro Hernández Hernández despite no apparent deflection off a Villarreal player, with the quick restart preventing any VAR intervention. Four minutes later Barcelona were level, Yamal charging down the right and cutting the ball back for Fermín to strike first time with his left foot into the bottom corner.

The winner arrived in the 67th minute, and Yamal was involved again. The winger drilled a cross in from the right and Pau Navarro, trying to clear from a couple of yards out, inadvertently turned the ball into his own net to complete a remarkable turnaround. Villarreal goalkeeper Péter Gulácsi had twice kept his side ahead in the second half, denying Fermín from the edge of the box and then pushing away a powerful low effort from substitute Dani Olmo, but he could do nothing about the decisive moment.

The victory takes Barcelona to 36 points from 13 games, three clear of Real Madrid, who had drawn level with the leaders on Saturday by beating Celta Vigo 2-1. Barcelona have now won 12 of their 13 league matches this season, with their only defeat the 2-1 Clásico loss to Real Madrid on 25 October. Villarreal, who had won three of their last five visits to Barcelona, stay eighth on 15 points.

Barcelona's win also keeps their momentum before a demanding run of nine games in 27 days. Hansi Flick's side are back in action on Wednesday, when they face Sabah at the Baku Olympic Stadium in the Champions League, while Villarreal were left to rue a missed chance after a start that had put them on course for successive league wins.