Barcelona moved to within a point of fourth place in the Spanish La Liga table with victory at Mallorca.
Luuk de Jong scored the winning goal with a header at the back post in the first half from Oscar Mingueza’s cross.
Xavi’s side, who were without a number of first team players because of Covid and injuries, dominated for large periods but were often frustrated.
De Jong was the main threat, hitting the woodwork twice in the first half, including once with a bicycle kick.
Mallorca pushed for an equaliser late on when Dani Rodriguez’s teasing ball was headed inches over the bar by Fer Nino, before Marc-Andre ter Stegen was forced into a smart save to deny Jaume Costa.
But the hosts, sitting 15th in the table, were unable to keep out Barcelona, who have closed the gap on fourth-placed rivals Atletico Madrid.
Barcelona were missing 17 players in total, including regulars Dani Alves, Ousmane Dembele, Jordi Alba, Philippe Coutinho, Gavi and Serginho Dest.
Earlier this week, Xavi said it was “crazy” that La Liga were allowing the game to go ahead given the state of the teams’ respective squads.
But his young players, with an average age of 24 years and 201 days, managed to get the job done.
Ahead of kick-off, former Mallorca and Barcelona star Samuel Eto’o made a guest appearance.
A mural of Eto’o was unveiled outside the Estadi de Son Moix and he was applauded by both sets of fans in the stadium.
28González Iglesias21de Jong6Puig Martí
Match ends, Mallorca 0, Barcelona 1.
Second Half ends, Mallorca 0, Barcelona 1.
Foul by Clément Lenglet (Barcelona).
Jordi Mboula (Mallorca) wins a free kick on the right wing.
Martin Valjent (Mallorca) is shown the yellow card.
Ferrán Jutglà (Barcelona) wins a free kick on the right wing.
Foul by Franco Russo (Mallorca).
Foul by Ronald Araújo (Barcelona).
Fernando Niño (Mallorca) wins a free kick on the left wing.
Dani Rodríguez (Mallorca) is shown the yellow card.
Clément Lenglet (Barcelona) is shown the yellow card.
Pablo Maffeo (Mallorca) is shown the yellow card.
Marc-André ter Stegen (Barcelona) wins a free kick in the defensive half.
Foul by Fernando Niño (Mallorca).
Attempt saved. Jaume Costa (Mallorca) left footed shot from the centre of the box is saved in the bottom left corner. Assisted by Iñigo Ruiz de Galarreta with a cross.
Attempt blocked. Pablo Maffeo (Mallorca) right footed shot from outside the box is blocked.
Corner, Mallorca. Conceded by Eric García.
Attempt blocked. Jordi Mboula (Mallorca) left footed shot from the right side of the six yard box is blocked. Assisted by Fernando Niño with a headed pass.
Foul by Eric García (Barcelona).
Jordi Mboula (Mallorca) wins a free kick in the attacking half.