FR 6792 then IB 1041 at Madrid
Marrakesh → Madrid → Mahón
Timetable, Madrid time
22:05FR 6792 from Marrakesh at the gate
20:15IB 1041 to Mahón leaves the gate
22 h 10 apart on the timetable, overnight
IB 1041 leaves 22 h 10 after FR 6792 arrives on the timetable: more than half a day, so not a connection we count.