FR 6723 then FR 9602 at Madrid
Marrakesh → Madrid → Rome
Timetable, Madrid time
11:20FR 6723 from Marrakesh at the gate
06:00FR 9602 to Rome leaves the gate
18 h 40 apart on the timetable, overnight
FR 9602 leaves 18 h 40 after FR 6723 arrives on the timetable: more than half a day, so not a connection we count.