AM 21 then FR 2053 at Madrid
Mexico City → Madrid → Palma de Mallorca
Timetable, Madrid time
15:40AM 21 from Mexico City at the gate
13:50FR 2053 to Palma de Mallorca leaves the gate
22 h 10 apart on the timetable, overnight
FR 2053 leaves 22 h 10 after AM 21 arrives on the timetable: more than half a day, so not a connection we count.