FR 1207 then UX 1061 at Madrid
Venezia → Madrid → Milan
Timetable, Madrid time
21:50FR 1207 from Venezia at the gate
15:05UX 1061 to Milan leaves the gate
17 h 15 apart on the timetable, overnight
UX 1061 leaves 17 h 15 after FR 1207 arrives on the timetable: more than half a day, so not a connection we count.