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