FR 6723 then FR 1206 at Madrid
Marrakesh → Madrid → Venezia
Timetable, Madrid time
11:55FR 6723 from Marrakesh at the gate
10:20FR 1206 to Venezia leaves the gate
22 h 25 apart on the timetable, overnight
FR 1206 leaves 22 h 25 after FR 6723 arrives on the timetable: more than half a day, so not a connection we count.