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