Lionel Messi scored his 644th goal for Barcelona during his side's victory over Real Valladolid to break Pele's record of the most goals for one club.
Argentina forward Messi, 33, scored Barca's third when he collected Pedri's backheel, took a touch then slotted the ball past goalkeeper Jordi Masip.
Messi created the first goal when his cross was headed in by Clement Lenglet and started the move for the second, finished off by Martin Braithwaite.
Messi also hit the post in injury time.
Brazil great Pele scored 643 goals in 19 seasons for Santos in his homeland between 1956 and 1974.
Messi, who scored his first goal for Barca in 2005 and has gone on to win 10 La Liga titles and four Champions Leagues, is out of contract at the end of the season and able to talk to other clubs from January.
In August, he said he wanted to exercise a clause in his deal which he said allowed him to leave on a free transfer, but Barcelona refused, saying his 700m euro (£624m) release clause had to be met.
Earlier this week, Messi said the incident caused him to have "a very bad time in the summer", although he was in superb form against Valladolid on Tuesday, inspiring a win that took Barcelona back up to fifth, eight points behind leaders Atletico Madrid.
Barca could have scored more goals but Masip made a number of fine saves and substitute Philippe Coutinho also hit the woodwork late on.
Marc-Andre Ter Stegen made two one-handed saves to deny Fabian Orellana and Kike Perez, preserving Barcelona's clean sheet.
Earlier on Tuesday, Atletico beat third-placed Real Sociedad 2-0 thanks to goals from Mario Hermoso and Marcos Llorente to go three points clear of Real Madrid, who play Granada at home on Wednesday.
Latest Stories
-
Wa Naa appeals to Akufo-Addo to audit state lands in Wa
16 mins -
5 secret ways people use ‘I love you’ as a form of manipulation
21 mins -
The most important question to ask yourself
32 mins -
Department of social welfare sensitises residents of Nabdam on child protection
34 mins -
Ghanaians must assess the quality of political leaders presented – Asah-Asante
47 mins -
Ashanti Regional Minister demands withdrawal of ‘fraudulent ECG bills’ sent to his residence
1 hour -
Delta Air Lines deploys new Airbus on Accra-New York route
1 hour -
PPDC spearheads Africa’s AI development at DRIF24 forum
1 hour -
Ripoti App launched to empower journalists, others to tackle digital rights violations in Africa
2 hours -
Ground-breaking health investment charter to tackle worker shortages in Africa
2 hours -
From Mortuary to Matrimony: Feature on how couple’s love journey brewed at the morgue airs on Joy Prime
2 hours -
Ghana’s LPG prices rank among the highest globally – LPG Marketers Association
2 hours -
Filth Exhibition: Residents near Korle Gonno bear the brunt of nationwide filth
2 hours -
We’ve not selected NPP members as returning officers – EC replies Mahama
3 hours -
We’ll not honour any invitation – ECG tells Ashanti Regional Minister
3 hours