Messi scored his 15th goal of the MLS season.
Inter Miami are five points ahead of second-placed FC Cincinatti in MLS's Eastern Conference.
Mexican side Monterrey sent Lionel Messi and Inter Miami crashing out of the CONCACAF Champions Cup on Wednesday after completing a 5-2 aggregate victory in their quarter-final clash.
Gerardo Martino fielded a heavily second-string line-up with Lionel Messi's former Barcelona team-mates Luis Suarez, Sergio Busquets and Jordi Alba also on the bench.
Inter Miami were beaten 6-0 few nights ago at the hands of Cristiano Ronaldo's Al-Nassr, with Lionel Messi making a cameo off the bench.
Jordi Alba struck a late winner for Barcelona in a 1-0 win over 10-man Osasuna on Tuesday to move the Catalans a step closer to their first La Liga title since 2019
Barcelona stumbled in the Spanish title race with a 1-1 draw against rivals Espanyol in a bad-tempered Catalan derby on Saturday
Jordi Alba scored an extraordinary volley and Dani Alves was sent off as Barcelona delivered a major boost to their hopes of finishing in La Liga's top four on Sunday by winning a six-goal thriller against Atletico Madrid.
Barcelona's Spanish international left-back Jordi Alba has tested positive for Covid-19, the club confirmed on Tuesday.
Pedri and Jordi Alba will now miss Barcelona's La Liga fixture at home to Granada on Monday, with league games against Cadiz and Levante to follow.