AM 27 then FR 2066 at Madrid
Mexico City → Madrid → Ibiza
Timetable, Madrid time
05:00AM 27 from Mexico City at the gate
20:25FR 2066 to Ibiza leaves the gate
15 h 25 apart on the timetable
FR 2066 leaves 15 h 25 after AM 27 arrives on the timetable: more than half a day, so not a connection we count.