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