Lionel Messi will not play in Barcelona's match against Inter Milan in the Champions League on Tuesday.

Barcelona coach Ernesto Valverde is resting Messi for the team's final Group F game in Italy.

The Catalan club has already secured a spot in the knockout stage as the group leader. It has four more points than Inter Milan and Borussia Dortmund, which hosts already eliminated Slavia Prague.

Barcelona's Lionel Messi runs with the ball during a Spanish La Liga soccer match between Barcelona and Mallorca at Camp Nou stadium in Barcelona, Spain, Saturday, Dec. 7, 2019. (AP PhotoJoan Monfort)

Barcelona's Lionel Messi runs with the ball during a Spanish La Liga soccer match between Barcelona and Mallorca at Camp Nou stadium in Barcelona, Spain, Saturday, Dec. 7, 2019. (AP PhotoJoan Monfort)

Only the top two in each group advance to the round of 16.

Valverde is also resting defender Gerard Piqué and midfielder Sergi Roberto. Out injured are Ousmane Dembele, Arthur, Jordi Alba, and Nelson Semedo.

Among those who made the trip to Italy are Luis Suárez, Antoine Griezmann, and teenager Ansu Fati.

Barcelona's Lionel Messi celebrates after scoring his side's second goal during a Spanish La Liga soccer match between Barcelona and Mallorca at Camp Nou stadium in Barcelona, Spain, Saturday, Dec. 7, 2019. (AP PhotoJoan Monfort)

Barcelona's Lionel Messi celebrates after scoring his side's second goal during a Spanish La Liga soccer match between Barcelona and Mallorca at Camp Nou stadium in Barcelona, Spain, Saturday, Dec. 7, 2019. (AP PhotoJoan Monfort)

Messi scored a hat trick on Saturday in Barcelona's 5-2 win over Mallorca in the Spanish league.

More AP soccer: https://apnews.com/Soccer and https://twitter.com/AP_Sports