FR 6722 then W4 7403 at Madrid
Marrakesh → Madrid → Palma de Mallorca
Timetable, Madrid time
21:00FR 6722 from Marrakesh at the gate
20:15W4 7403 to Palma de Mallorca leaves the gate
23 h 15 apart on the timetable, overnight
W4 7403 leaves 23 h 15 after FR 6722 arrives on the timetable: more than half a day, so not a connection we count.