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
-
The ironic reason you feel like you’ll never fall in love
5 mins -
Breast Care International re-iterates calls for collective efforts in fight against breast cancer
11 mins -
West African journalists to benefit from comprehensive training initiative on digital verification and fact-checking
19 mins -
3 clear-as-day warning signs it’s time to cut him loose
31 mins -
US President’s dog bites another Secret Service agent
44 mins -
UN slams France’s decision to ban French athletes’ hijabs at 2024 Olympics
53 mins -
Insurance firms in Ghana to mobilize support for dwindling blood banks
1 hour -
Friends advised me to join a cult to ‘blow’ my career – Phyno
1 hour -
Solidaridad collaborates with ACG to host 3rd International Coconut Festival in Takoradi
1 hour -
Quite a lot of people will leave NPP for Alan Kyerematen but not in droves – Prof Mensah
2 hours -
I didn’t support Alan’s exit, but I’m not opposed to it – Kwadwo Mpiani
2 hours -
The objects we keep when loved ones die — and what they say about mourning
2 hours -
President Akufo-Addo is part of NPP’s problems – Kwadwo Mpiani
2 hours -
Afcon 2025 and 2027 hosts to be announced as Algeria withdraws from race
2 hours -
I met a man I thought was ‘the one’ then I got a message that changed everything
3 hours