FR 726 then FR 9430 at Madrid
Palermo → Madrid → Marrakesh
Timetable, Madrid time
20:50FR 726 from Palermo at the gate
13:10FR 9430 to Marrakesh leaves the gate
16 h 20 apart on the timetable, overnight
FR 9430 leaves 16 h 20 after FR 726 arrives on the timetable: more than half a day, so not a connection we count.