W4 6723 then A3 4034 at Athens
Venezia → Athens → Madrid
Timetable, Athens time
22:20W4 6723 from Venezia at the gate
17:00A3 4034 to Madrid leaves the gate
18 h 40 apart on the timetable, overnight
A3 4034 leaves 18 h 40 after W4 6723 arrives on the timetable: more than half a day, so not a connection we count.