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
-
Providing quality seeds to farmers is first step towards achieving food security in Ghana
4 mins -
Give direct access to Global Health Fund – Civil Society calls allocations
3 hours -
Prince Harry jokes in tattoo sketch for Invictus
4 hours -
Akufo-Addo commissions 200MW plant to boost economic growth
4 hours -
Smallholder farmers to make use of Ghana Commodity Exchange
4 hours -
I want to focus more on my education – Chidimma Adetshina quits pageantry
4 hours -
Priest replaced after Sabrina Carpenter shoots music video in his church
4 hours -
Duct-taped banana artwork sells for $6.2m in NYC
5 hours -
Arrest warrants issued for Netanyahu, Gallant and Hamas commander over alleged war crimes
5 hours -
Actors Jonathan Majors and Meagan Good are engaged
5 hours -
Expired rice saga: A ‘best before date’ can be extended – Food and Agriculture Engineer
5 hours -
Why I rejected Range Rover gift from a man – Tiwa Savage
5 hours -
KNUST Engineering College honours Telecel Ghana CEO at Alumni Excellence Awards
5 hours -
Postecoglou backs Bentancur appeal after ‘mistake’
6 hours -
#Manifesto debate: NDC to enact and pass National Climate Law – Prof Klutse
6 hours