FR 1207 then FR 5493 at Madrid
Venezia → Madrid → Milan Bergamo
Timetable, Madrid time
21:50FR 1207 from Venezia at the gate
19:30FR 5493 to Milan Bergamo leaves the gate
21 h 40 apart on the timetable, overnight
FR 5493 leaves 21 h 40 after FR 1207 arrives on the timetable: more than half a day, so not a connection we count.