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