IB 1044 then IB 507 at Madrid
Mahón → Madrid → Málaga
Timetable, Madrid time
23:00IB 1044 from Mahón at the gate
19:35IB 507 to Málaga leaves the gatealso AY 4807
20 h 35 apart on the timetable, overnight
IB 507 leaves 20 h 35 after IB 1044 arrives on the timetable: more than half a day, so not a connection we count.