Memphis Depay, Luuk de Jong and Ansu Fati scored as Barcelona earned a crucial win for under-fire manager Ronald Koeman.
The Blaugrana defeated Levante 3-0 at Camp Nou to end a dismal run of three games without a victory.
Memphis opened the scoring from the penalty spot after just six minutes to continue his decent start to life in Catalunya.
And De Jong doubled the advantage eight minutes later with his first goal since his controversial summer loan move from Sevilla.
The best story of the afternoon was Ansu Fati returning from injury after 322 days out to score the third as a substitute.
The result took Barca to within touching distance of the top four with a game in hand.
On Saturday evening, Real Madrid maintained their position at the top of La Liga despite dropping points for just the second time this season.
Los Blancos had scored a remarkable 21 La Liga goals in just six matches to go top of the league, but they were held to a 0-0 draw for the first time in 2021/22.
Indeed, Madrid were restricted to just two shots on goal – something that Villarreal bettered despite being away from home.
They were handed a favour earlier in the day by Atletico Madrid, too, as Diego Simeone’s side lost 1-0 away at Alaves, with Victor Laguardia scoring the only goal of the game early on.
Sevilla went down to 10 men at home versus Espanyol after Thomas Delaney receives two bookings, but they still ran out 2-0 winners versus Espanyol, with Youssef En-Nesryi and Rafa Mir getting on the scoresheet.
Remaining Sunday fixtures:
Rayo v Cadiz
Betis v Getafe
LA LIGA STATISTICS: