Palmeiras came from behind to play Inter Miami to a 2-2 draw in front of an electric crowd at Hard Rock Stadium, and both clubs advanced to the Club World Cup round of 16 on Monday night.
Mauricio sealed the comeback for the historic Brazilian club with the equalizer in the 87th minute after Palmeiras trailed most of the match.
A tie was enough to send both teams to the knockout round after they entered Monday's match tied atop the Group A standings with four points apiece.
For a while, it looked like Inter Miami would advance as winners of the group after taking a 2-0 lead deep into regulation on goals by Tadeo Allende in the 16th and veteran Luis Suarez in the 65th.
Palmeiras clawed back after a couple of second-half substitutions. Paulinho got his team on the board in the 80th, and the equalizer from Mauricio came a few minutes later.
Messi, who turns 39 on Tuesday, had numerous chances but did not score Monday despite the crowd chanting his name throughout the match.
Key moment
Messi was seen shaking his head just after Mauricio broke through Miami's defense and hammered the tying goal past goalkeeper Oscar Ustari, as Miami's lead had slipped away in a matter of minutes.
Takeaways
Palmeiras finished as winners of Group A on goal differential and will face fellow Brazilian squad Botafogo in the round of 16, while Inter Miami will face Group B winner and Messi's former club Paris Saint-Germain. The Herons were the only MLS club to advance to the round of 16 after Los Angeles FC and Seattle were eliminated.
What they said
"It's very important that the team was able to compete at this level at the Club World Club. I think we've left our mark as a competitive team. I think this is good for us to see where the limit really is for the MLS. This is the message that we're giving. Beyond that, we've got to prepare for what's coming. We know it will be a challenge, just as this round was." - Suarez through an interpreter
"We could at the last moment have won the match, but quite honestly it wouldn't have been fair given how Inter Miami played in the first half. Tying was the best result. ... Whether it's by tying or by winning, this is what we came for." - Palmeiras head coach Abel Moreira through an interpreter.
Other games
Pepê's goal in the 89th minute gave Porto a 4-4 tie against Al Ahly in a back-and-forth match Monday night, before both teams were eliminated from the Club World Cup on goal differential.
Rodrigo Mora, William Gomes and Samu Aghehowa also scored for the Portuguese team. Wessam Abou Ali had a hat trick for the Egyptian team in front of a crowd of 39,893 at MetLife Stadium, where a sea of red jerseys dominated the stands.
Both teams pushed for a late goal before the final whistle but neither could score again to finish above Inter Miami after its 2-2 draw with Palmeiras.
Mohamed Seha saved Mora's 95th-minute shot from the left side of the box. Al Ahly had a strong counterattack all evening and nearly stole a late lead after Mohamed Hany sent a right-footed shot from outside the box but missed to the left in the 96th minute.
Porto held an advantage in possession with 56.5% but Al Ahly created more opportunities with a 22-14 advantage on shots.
A penalty just minutes into extra time kept Al Ahly in the lead going into halftime. Porto gained momentum after Gomes sent a right-footed shot from outside the box to the top right corner.
Wessam consolidated his hat trick with a header that sent the ball into the center of the box.
Key moment
Pepê converted the tying goal with his right foot from outside the box into the bottom left corner.
Takeaways
Both teams finished 0-2-1 in the tournament.
What they said
"We did not come to not classify, we wanted to classify. There were a lot of factors that we need to analyze of what this Club World Cup was." - Porto coach Martín Anselmi
"When you score four goals in a game like this one, you should go away with the victory." - Al Ahly coach Jose Riveiro
Atletico Madrid eliminated
Atlético Madrid was eliminated from the Club World Cup on goal differential Monday despite beating Botafogo 1-0 on Antoine Griezmann's dramatic late goal.
Botafogo advanced from Group B along with Paris Saint-Germain. All three clubs finished group play with two wins and a loss, but Atlético's 4-0 thrashing from PSG in its tournament opener eight days ago came back to haunt the Spanish giants.
Atlético kept steady pressure in the second half, and Julián Alvarez finally spun away from two tackle attempts and fired a long pass across the penalty area to halftime substitute Griezmann, who banged it home for his first goal of the tournament in the 87th minute.
Atlético knew that goal wasn't enough to advance. Coach Diego Simeone's group kept up the pressure, but couldn't break through again.
Botafogo, the current champions of South America, did what was necessary to advance, limiting Atlético to one late goal despite a 23-7 disadvantage in shot attempts. Goalkeeper John made four saves.
PSG beat the Seattle Sounders 2-0 to win the group on goal differential, even though Botafogo stunned Champions League winners PSG 1-0 at the Rose Bowl four days earlier.
Botafogo had a strong counterattack all afternoon and nearly stole an early lead, but Jan Oblak stopped Jefferson Savarino's breakaway in the 10th minute. Oblak also made a fingertip save on Igor Jesus' exceptional deflection on net in the 67th minute.
Key moment
Alvarez was involved in two clashes in the Botafogo box in the first half, but neither resulted in a penalty. He fell when tackled by Jair Paula in the 25th minute, and he went down again near halftime when Gregore stepped on his foot at the top of the penalty area.
Takeaways
Botafogo was a few minutes away from winning all three matches in what might be the toughest group in the tournament, but Griezmann's late goal didn't undeservedly ruin an impressive three-game effort for the Brazilian giants and their raucous supporters.
Atlético got off to a slow start in the U.S., and it couldn't rally quickly enough at the end. It's a disappointment, but it also means an extra week or more of rest before the sport's grind begins again in early August.
What they said
"Every refereeing decision in this tournament went against us. ... We had the same number of points as the Champions League winner and Libertadores winner, but we missed out because of the match against PSG, where every decision always went against us. We're close. We're competing well, but we still need a little more." -Simeone
"We can't focus on the referee. Sometimes we're not at our best, and we must address that." -Griezmann
"If Renato Paiva had said back in Brazil that we would get through this group, I would have been criticized to the core by everyone, wouldn't I? Now we did what no one expected. We have to thank the Botafogo fans, and we have to be proud for Brazilian football." -Botafogo coach Renato Paiva