FR 3008 then FR 2209 at Madrid
Milan → Madrid → Venezia
Timetable, Madrid time
19:50FR 3008 from Milan at the gate
17:50FR 2209 to Venezia leaves the gate
22 h apart on the timetable, overnight
FR 2209 leaves 22 h after FR 3008 arrives on the timetable: more than half a day, so not a connection we count.