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