FR 6723 then IB 1667 at Madrid
Marrakesh → Madrid → Palma de Mallorca
Timetable, Madrid time
22:45FR 6723 from Marrakesh at the gate
15:45IB 1667 to Palma de Mallorca leaves the gate
17 h apart on the timetable, overnight
IB 1667 leaves 17 h after FR 6723 arrives on the timetable: more than half a day, so not a connection we count.