Ousmane Dembele gave Barcelona a glimpse into the future but Barcelona still needed Lionel Messi to beat Leganes 3-1 on Sunday and restore their five-point lead at the top of La Liga.
Messi had started on the bench, rested by coach Ernesto Valverde, and for just over an hour at the Camp Nou, Dembele filled the void by scoring the opening goal in a sparkling individual display.
The 21-year-old, however, limped off injured in the 69th minute, shortly after Leganes had equalised through Martin Braithwaite and Valverde responded by bringing on Messi.
He needed only seven minutes to make an impact as his bending shot was followed up by Luis Suarez, who poked the ball in ahead of Leganes goalkeeper Pichu Cuellar. Messi then rounded off the win by scoring himself in injury-time.
Leganes had protested against Suarez's finish, convinced that Pichu had been fouled by a high foot. But VAR disagreed and Barca advanced to what was, in truth, a fully deserved victory.
It means they regain their hefty advantage over Atletico Madrid at the top of the table, with the difference ahead of Real Madrid also back to 10 points.
Leganes had beaten Barcelona at home in September but that remains the high point of their season. They stay 14th.
Valverde was accused of failing to rest key players last season, to the detriment of their progress in the Champions League, and his gamble to spare Messi just about paid off.
They needed him in the end but for a while, Dembele, and the 21-year-old Carles Alena in midfield, had shown there may yet be life after Messi, who turns 32 in June.
Dembele was at the heart of everything in the first half, his hips slaloming through the hapless Leganes defence, who swarmed around him in numbers but always seemed a step behind.
A cheeky nutmeg was followed by an audacious scoop, which found Suarez but he poked wide. It was a classy finish for the opener too, although the goal owed more to the collective than individual.
- Messi swoops -
Gerard Pique started it, driving from deep in defence down the wing. Alena took over and found Dembele, who spread the ball wide to Jordi Alba. When the ball came back, Dembele opened up his body and his right foot, guiding the ball first-time into the bottom corner.
The Frenchman twisted away from Youssef En-Nesyri, who chased back to bundle his opponent to the ground. Suarez wanted a penalty but after slight contact from Cuellar, his fall was forced and late.
After half-time, Philippe Coutinho fired over after another Dembele flick and it felt like only a matter of time before another goal would come.
It did, but Leganes scored it, with their second shot on target. Alba was caught out and En-Neysri nipped in. His fizzing cross found Braithwaite, who darted ahead of Pique to prod home.
Messi had been warming up and was quickly introduced. Alena made way and shortly after Dembele followed, his sparkling night cut short by what looked like a hamstring strain. Malcom came on.
Seven minutes passed between Messi's substitution and Suarez's goal. Messi cut in from the right and curled a shot towards the top corner, where Pichu dived to meet it and palmed the ball into the air.
As it dropped, Suarez got there first, stabbing in the rebound at around hip-height before clattering into the keeper's chest. VAR checked and Leganes protested. The goal stood.
Suarez should have scored again but shot straight at Pichu, who gathered, rushed out and barged into the shoulder of the Uruguayan.
Any doubt was dispelled, however, as Messi exchanged with Alba in injury-time. A swoop of the Argentinian's right foot was all it needed.
(For more sports news and updates, follow Ahram Online Sports on Twitter at @AO_Sports and on Facebook at AhramOnlineSports.)
Short link: