Barcelona‘s La Liga title hopes faltered after they slipped to a 1-1 draw against Cadiz at Camp Nou on Sunday.
Ronald Koeman’s side now find themselves eight points behind league leaders Atletico Madrid who lost on Saturday.
Messi made his 506th appearance in the league and surpassed club legend Xavi Hernandez’s appearance record in the process.
His strike against relegation-threatened Cadiz also extended his La Liga record of scoring against the most different opponents to 38.
The hosts had chances to extend their lead before the break but saw goals from Frenkie de Jong and Pedri ruled out for offside.