But the Argentina global sustained a thigh injury and is now a doubt for Wednesday's Copa del Rey semi-final first leg at home to arch-rivals Real Madrid.
Messi scored twice to erase a two-goal deficit and earn Barcelona a point in a 2-2 draw against Valencia at the Nou Camp.
The Argentine forward was eventually able to finish the game, but he will now undergo tests to determine the severity of the injury.
Barcelona boss Ernesto Valverde admits he could be without his main man for Wednesday's first leg against arch rivals Madrid.
Earlier, Legit.ng had reported how Portugal global Cristiano Ronaldo told Juventus' chiefs to give him three more bodyguards for himself and his family in Italy. We hope that he will recover [in time] for Madrid. "I don't know too much more".
"We have to wait until [Sunday] to see how the pain is", Valverde said in his postgame news conference.
More news: Rumour: Apex Legends Map Leaked Ahead of Reveal StreamBarca beat Madrid 5-1 in the league earlier this season with Messi missing through injury, but he once again demonstrated his importance against Valencia.
The "fifth best player in the world" bagged a brace against Valencia after the league leaders went 2-0 in the first 30 minutes, with goals for the away side coming from Kevin Gameiro and Dani Parejo.
Messi scored his first from the spot, with his second a curler from the edge of the box in the 64th minute.
"Between tomorrow and the day afterwards we'll need to see exactly how he is and what he has", Valverde said. "We weren't switched on and they caught us on the counter and then doubled their lead with the penalty".
Ramos said it would be a huge month for Madrid, who are third in LaLiga and eight points behind Barca.