Lionel Messi scored a late penalty as Barcelona shook off a post-Clasico hangover and edged to a 1-0 win over Real Sociedad at Camp Nou.
Having lost first place in their defeat to rivals Real Madrid at Santiago Bernabeu six days ago, Barca took the chance to return to the summit, albeit in an unconvincing Camp Nou victory on Saturday.
Messi came into the contest having failed to score in six of his last seven games but he converted the crucial spot-kick with nine minutes remaining after a VAR review adjudged Robin Le Normand had handled a left-wing cross.
Madrid now trail by two points but have the chance to reclaim top spot in Sunday’s match against Barca head coach Quique Setien’s former club Real Betis.
Martin Braithwaite was twice denied by goalkeeper Alex Remiro early on, Messi having created both chances, while Alexander Isak headed way off target at the end of a neat Real move, with Marc-Andre ter Stegen rarely troubled in the opening period.
Remiro blocked a close-range Messi shot before the Argentina international sent another low effort narrowly wide, his frustration showing with a late challenge on Mikel Merino that earned him a booking.
It was Messi who continued to look the most likely for Barca and, early in the second half, he sent a curling strike wide, had a free-kick blocked then fired over as defenders bore down on him in three separate chances.
Remiro got down to impressively tip away an Ivan Rakitic drive, before Gerard Pique headed straight at him as the hosts upped the pressure.
While La Real began to threaten on the break, a goalless draw was looking likely before the Barca breakthrough finally arrived.
Remiro could not reach Messi’s penalty despite diving the right way, with the visitors unhappy at the handball decision, their frustration not helped by suggestions Barca had been offside in the build-up.
The offside flag did go up in stoppage time against substitute Ansu Fati, denying Jordi Alba a clinching second goal after a slick move involving Messi.