Barcelona came from behind to beat Athletic Bilbao 2-1, while Sevilla stay in the hunt for La Liga's top four after defeating Granada 4-0.
In front of a relatively small crowd estimated to be 42,000, the Camp Nou played host to a lively contest as Aritz Aduriz put the visitors ahead just after the break with his 13th La Liga goal of 2014, a figure bettered only by Lionel Messi.
Athletic looked as though they were going to successfully frustrate their hosts and end their stuttering title challenge for good, but the champions battled back in the final 20 minutes.
Pedro levelled with 18 minutes left and Messi found the crucial goal a few moments later from a free-kick, which opposing goalkeeper Gorka Iraizoz should have done better with.
The triumph moves Barcelona back to within four points of leaders Atletico Madrid and ends a run of three consecutive losses in all competitions, while Athletic's cushion in fourth was cut to just three points ahead of Sevilla, who cruised past Granada.
Granada enjoyed a lively opening, but they were their own worst enemies in the 14th minute as Kevin Gameiro's squared pass just inside the area was directed into the goal by defender Diego Mainz.
Tiago Ilori almost scored a second own-goal for Lucas Alcaraz's men in the 51st minute as the on-loan Liverpool youngster passed the ball straight past goalkeeper Orestis Karnezis, but Gameiro saved him some embarrassment by poking over the line himself.
After netting his 20th goal of the season in all competitions, Gameiro turned provider again, this time setting up Stephane M'Bia for an easy finish and Vitolo wrapped up the win with 22 minutes to go after pouncing on a mix-up in the Granada defence, setting up nicely Sevilla's showdown with Athletic next weekend.
Real Betis' 3-1 defeat at Rayo Vallecano has left Gabriel Calderon's men looking doomed in their battle to avoid relegation.
Rayo found themselves 2-0 up by the half-hour mark as Ruben Rochina pounced on Paulao's horrendous back-pass, before the Brazilian defender put Arbilla's cross past his own goalkeeper.
Joaquin Larrivey netted for the seventh time in nine league games to make it 3-0 just after the break and although Javi Chica pulled one back 11 minutes from time, it proved to be nothing more than a consolation, leaving Betis 10 points adrift of safety with four games left.
The day's early kick-off saw Celta Vigo effectively secure their top-flight status at the expense of second-from-bottom Almeria, whom they beat 4-2 in Andalusia.
Rodri cancelled out Nolito's 19th-minute opener just before the break, but Celta charged ahead once again in the second period.
Nolito set up Charles for their second, before the former Barcelona and Benfica winger netted his second of the day and Fabian Orellana added a fourth, with Oscar Diaz pulling one back for Almeria late on.
|Coach: G. Martino|
|Wenger criticism baffles Redknapp|
|Leicester must strengthen in window - Walsh|
|United not title contenders - Docherty|
|Koeman: Southampton youngsters will get a chance|
|Dyche empathises with Liverpool striker crisis|
|Cagliari turn to Zola|
|Rooney thanks Van Gaal for Christmas break|
|Cruzeiro offer Paulinho Tottenham exit chance|
|Carlisle´s wife grateful to Burnley|
|Katebe called up to Zambia AFCON squad|
|Cape Verde name AFCON squad|
|Finke names much-changed Cameroon squad|
|Grant omits World Cup troublemakers for AFCON|
|Blackpool striker Ranger goes AWOL|
|Allardyce relishing Mourinho meeting|
|Ashley fails to increase Rangers stake|
|Crystal Palace v Southampton: Koeman calls for focus|
|Warnock targeting striker in January|
|Chelsea v West Ham: Adrian vows visitors will attack|
|Heskey signs short-term deal at Bolton|
|Everton v Stoke City: Martinez eyes strong form|
|Juninho defends David Luiz|
|Burnley v Liverpool: Dyche defends Rodgers ahead of Turf Moor test|
|Arsenal v QPR: Wenger eyes festive momentum|
|Liverpool are growing in confidence, says Rodgers|
|Redknapp: Austin future could depend on survival|
|Martinez wants Everton consistency|
|Barca want Neymar until 2020, says agent|
|Jones undeterred by pressure of Liverpool starting role|
|Allardyce ´knows how to beat managers´ - Carroll|
|Jones playing for a new contract|
|China select Evergrande spine for Asian Cup|
|A-League Preview: Koren tips City to build|
|Khedira keen to fight for Real spot|
|Southampton confirm Elia deal|
|Cellino to remain as Leeds owner until after appeal|
|Manchester United v Newcastle United: Van Gaal demands domination|
|Van Gaal refuses to dismiss Bale speculation|
|Sunderland v Hull City: Bruce sure of Hull revival|
|Swansea City v Aston Villa: Lambert optimistic of away success|
|Agbonlahor red rescinded|
|Falcao depends on team-mates to perform - Van Gaal|
|Monk dismisses talk of Gomis move|
|West Brom v Manchester City: Pellegrini to experiment again|
|Xavi: I was ready for New York switch|
|Ibrahimovic fumes at awards snub|
|Irvine: No approaches for Berahino|
|Pearson determined to revive Leicester fortunes|
|League Two Preview: First host third as Wycombe meet Luton|
|League One Preview: Buoyant MK Dons eye more glory, Bristol City seek response|
|Championship Preview: Pritchard plotting to end Ipswich run, Bournemouth host Fulham|
|Kaboul place not guaranteed by captaincy - Pochettino|
|Koeman hopeful of Elia deal|
|Atletico president not ruling out Torres return|
|Swansea secure Oliveira signing|
|No excuses for Pellegrini|
|Walcott pace unaffected by injury|
|Former Real Madrid star Roberto Carlos backs Ronaldo for Ballon d´Or|
|Former PFA chairman Carlisle ´stable´ after serious incident|
|Balotelli remorse saved him from longer ban|
|Bayern midfielder Martinez ´on track´ with rehab|
|Pardew ´overjoyed´ at Gutierrez return|
|Spurs confirm Yedlin to join in January|
|Zeman sacked by Cagliari|
|Casillas: I´m going nowhere|
|Bruce demands McShane apology|
|Pulis would welcome Brighton talks|
|Buffon: Juve angry after Supercoppa loss|
|Arteta out until new year|
|Rangnick: Kampl deserves Dortmund switch|
|PFA offers support to Carlisle after serious incident|
|Napoli can mount title bid - Higuain|
|Cech´s agent urges Liverpool and Arsenal to make bid|
|Hart happy to be back to his best|
|Terry thrilled with ´revelation´ Matic|
|Perez rues ´unfair´ Tyne-Wear derby result|
|Khalfan Ibrahim returns from injury|
|Magath slams ´sensitive´ Fulham|
|´Limited´ attacking options inspire Postecoglou´s selections|
|Carlisle reportedly involved in serious incident|
|Primeira Liga Review: Braga leapfrog Guimaraes|
|Hughes upbeat despite Stoke defeat|