FR 6723 then AM 6845 at Madrid
Marrakesh → Madrid → Venezia
Timetable, Madrid time
22:15FR 6723 from Marrakesh at the gate
15:15AM 6845 to Venezia leaves the gate
17 h apart on the timetable, overnight
AM 6845 leaves 17 h after FR 6723 arrives on the timetable: more than half a day, so not a connection we count.