Lionel Messi saved Barcelona's blushes in what could have been another embarrassing result by scoring a decisive winner in a 1-0 victory over lowly Levante, while Real Sociedad returned to the top of La Liga with a 1-1 draw on Sunday.

Messi struck with 14 minutes remaining of a lacklustre display from Barca at the Camp Nou which will do little to ease fan fears following their 3-0 hammering at the hands of Juventus midweek in the Champions League.

Ronald Koeman's side are still way off the pace in the title race, nine points behind Sociedad who reclaimed first place despite the draw with Eibar.

Also read: Ronaldo scores twice from the spot as Juventus down Messi's Barcelona

However, Barcelona have two games in hand on the Basque outfit.

Atletico are level on 26 points with Sociedad and also have two games in hand while Real Madrid are now just three points behind the league leaders having played one less after beating their local rivals 2-0 on Saturday.

Villarreal are four points off the lead in fourth after drawing 1-1 at Real Betis, who are one point behind Barca in ninth.

Barca managed to force several saves from Aitor Fernandez, with the Levante goalkeeper doing particularly well to push away a stinging shot from Martin Braithwaite in the 16th minute and Antoine Griezmann's header five minutes later.

Also read: Real Madrid spoils Atletico's unbeaten record to claim bragging rights

However, the best chance of the opening period fell to Jorge de Frutos in the 12th minute, the Spanish winger somehow shot straight at Marc-Andre ter Stegen after the ball broke kindly for him right in front of goal.

Barca continued to dominate possession in the second half but if anything looked less threatening, with Fernandez being called into action largely for shots that were hit straight at him.

With Levante looking more comfortable than a side of their level should at the Camp Nou, Messi saved his team with a clinical finish off the post after collecting Frenkie de Jong's pass.

It was hardly the sort of display to honour Sergio Busquet's 593rd appearance for the club, which takes him level at fourth of all time for matches played for Barca alongside Carles Puyol.

However, the three points are a boost ahead of the visit of Sociedad on Wednesday, which is then followed up by another home clash with Valencia on Saturday.

Earlier Ander Barrenetxea gave Real Sociedad the lead in San Sebastian with a thumping strike in the 20th minute, but Sergi Enrich turned home with 25 minutes remaining to send his team 10th on 15 points.

Sociedad would have had a bigger gap between them and Atletico had Igor Zubeldia's 80th-minute tap-in not been ruled out by VAR for an extremely tight offside.

Sunday's draw was Sociedad's sixth is as many games in all competitions, and came after another 1-1 draw at Napoli on Thursday which saw them squeeze into the last 32 of the Europa League.

Granada won 1-0 at Elche in Sunday's other match, a win that keeps them one point ahead of Barcelona.