FR 3008 then IB 1043 at Madrid
Milan → Madrid → Mahón
Timetable, Madrid time
19:50FR 3008 from Milan at the gate
19:10IB 1043 to Mahón leaves the gate
23 h 20 apart on the timetable, overnight
IB 1043 leaves 23 h 20 after FR 3008 arrives on the timetable: more than half a day, so not a connection we count.