Lionel Messi scored twice and made another on the day he equalled Xavi's record for most Barcelona appearances.
Messi was playing for Barca for the 767th time and his curled double, along with goals from Antoine Griezmann and Oscar Mingueza, helped his side to a comfortable win over struggling Huesca.
Rafa Mir scored a controversial penalty for Huesca at the end of the first half, but Barca cruised to the victory.
They move second in La Liga, four points behind leaders Atletico Madrid.
The 33-year-old Argentina forward has won La Liga 10 times and the Champions League on four occasions among 34 trophies since he made his competitive debut as a substitute in a 1-0 away derby win against Espanyol on 16 October 2004.
Messi, whose contract expires at the end of this season, will break former Spain midfielder Xavi's record on Sunday if he plays in the league game at Real Sociedad.
Barcelona were knocked out in the last 16 of the Champions League by Paris St-Germain on Wednesday but still have hopes of winning a domestic league and cup double.
Against bottom-of-the-table Huesca, Messi scored after 13 minutes with a fine, left-footed curled effort from outside the penalty area before Griezmann added an almost identical goal 22 minutes later.
Huesca had lost 8-2 at the Nou Camp in 2018, but were given a fortunate way back into the game when Barca goalkeeper Marc-Andre ter Stegen was adjudged to have fouled Huesca's Mir.
The striker, on loan from Wolves, converted the penalty, but the hosts restored their two-goal lead when Mingueza headed his first goal for the club following Messi's cross from the left wing.
Mir had a chance to make it 3-2 but somehow chested the ball over the bar from only a few yards out. Messi grabbed his second goal of the night, and his 661st for Barcelona, with another curled, left-footed shot from distance in stoppage time.
The win takes Barcelona, who have already reached the Copa del Rey final, above Real Madrid and into second with 11 league games of the season remaining.
Latest Stories
-
DAMC, Free Food Company, to distribute 10,000 packs of food to street kids
1 hour -
Kwame Boafo Akuffo: Court ruling on re-collation flawed
1 hour -
Samuel Yaw Adusei: The strategist behind NDC’s electoral security in Ashanti region
1 hour -
I’m confident posterity will judge my performance well – Akufo-Addo
2 hours -
Syria’s minorities seek security as country charts new future
2 hours -
Prof. Nana Aba Appiah Amfo re-appointed as Vice-Chancellor of the University of Ghana
2 hours -
German police probe market attack security and warnings
2 hours -
Grief and anger in Magdeburg after Christmas market attack
2 hours -
Baltasar Coin becomes first Ghanaian meme coin to hit DEX Screener at $100K market cap
3 hours -
EC blames re-collation of disputed results on widespread lawlessness by party supporters
4 hours -
Top 20 Ghanaian songs released in 2024
4 hours -
Beating Messi’s Inter Miami to MLS Cup feels amazing – Joseph Paintsil
4 hours -
NDC administration will reverse all ‘last-minute’ gov’t employee promotions – Asiedu Nketiah
4 hours -
Kudus sights ‘authority and kingship’ for elephant stool celebration
4 hours -
We’ll embrace cutting-edge technologies to address emerging healthcare needs – Prof. Antwi-Kusi
5 hours