Barcelona have closed the gap on La Liga leaders Real Madrid to just one point courtesy of a 4-1 home win over strugglers Almeria.
The reigning champions were cruising after just 23 minutes thanks to Alexis Sanchez's 16th league goal of the season and a 30-yard free-kick from Lionel Messi.
However, Almeria shocked the Camp Nou by pulling one back three minutes later when Angel Trujillo headed home from Miguel Angel Corona's corner kick.
Barca quickly resumed control of the game and Messi came close to restoring his side's two-goal cushion just before the break, but he sent a brave diving header just wide.
A brilliant Xavi through-pass put Neymar in on goal early in the second period, only for the Brazil international to drill a low shot straight at goalkeeper Suarez Esteban.
Barca's performance then went right off the boil, much to the frustration of an underwhelmed Catalan crowd.
Those supporters were on their feet again on 83 minutes though, as Carles Puyol netted his first goal of the season, tapping home from close range after Messi's header had struck the crossbar.
Xavi added gloss to the scoreline in the dying moments with a brilliant curling effort that found the bottom corner of Esteban's goal from long range.