Messi was substituted after hurting his groin.
The player is set to miss three weeks according to the club.
Barca coach Luis Enrique spoke about it in his press conference, explaining: “I'm not a doctor, but to lose Messi, football loses, we all lose, and that's something we are sad about.
“Last year he had a big injury and the team was at a good level. The truth is that with Leo we are stronger, but we will be strong without him, we have to keep playing well."