Barcelona moved up to second in La Liga thanks to Lamine Yamal’s superb late winner against Real Mallorca.
The visitors looked set to frustrate Barca, for whom Ilkay Gundogan had a 24th-minute penalty saved.
Yamal, 16, then struck the crossbar early in the second half but curled in a fine effort from just inside the box.
Barca are now within five points of leaders Real Madrid, who host Celta Vigo on Sunday.
They are eight matches unbeaten in all competitions, a run which has put them two points above Girona before they host Osasuna on Saturday.
They can drop to third, before the end of Saturday if Girona beat Osasuna and eight points behind Real Madrid if the leaders beat Celta Vigo on Sunday
Barca, whose coach Xavi was serving a touchline suspension, made a positive start before winger Raphinha was clipped in the box by defender Jose by Manuel Copete.
Summer signing Gundogan stepped up to take his second penalty for Barca but the Germany midfielder’s side-footed effort was saved by Serbia goalkeeper Predrag Rajkovic low to his left.
Roque spurned a great chance as he headed over but Lamal then exchanged passes with Lewandowski just outside the box before taking on his man and working enough space to get away a crisp strike which curled beyond Rajkovic inside the far post.
It was a sixth goal of the season for Lamal, who became Barca and Spain’s youngest goalscorer earlier in the season, and his first since scoring twice in the 3-3 draw at home to Granada last month
La Liga: Barcelona Keep The Pressure On Madrid With A Win Against Real Mallorca
