FR 2064 then FR 9430 at Madrid
Palma de Mallorca → Madrid → Marrakesh
Timetable, Madrid time
23:00FR 2064 from Palma de Mallorca at the gate
13:10FR 9430 to Marrakesh leaves the gate
14 h 10 apart on the timetable, overnight
FR 9430 leaves 14 h 10 after FR 2064 arrives on the timetable: more than half a day, so not a connection we count.