Lionel Messi drew level with Pele as the player to have scored the most goals for a single club with his 643rd goal for Barcelona in Saturday's 2-2 draw with Valencia.
Pele scored the same among of goals for Santos, in 665 games, with Messi reaching the landmark in his 748th game for Barça after 17 seasons with the first team.
Messi scored a header from close range against Valencia. He had just missed a penalty, saved by Jaume Domenech, but bundled the ball over the line from Jordi Alba's cross in the play which followed.
The Argentina forward has now scored nine goals this season, with six of them coming in the league.
Messi had played a key role in the lead up to the penalty, with his pass to Antoine Griezmann leading to Jose Luis Gaya's foul on the France forward.