IB 304 then UX 5035 at Madrid
Mexico City → Madrid → Málaga
Timetable, Madrid time
07:10IB 304 from Mexico City at the gate
06:30UX 5035 to Málaga leaves the gate
23 h 20 apart on the timetable, overnight
UX 5035 leaves 23 h 20 after IB 304 arrives on the timetable: more than half a day, so not a connection we count.