FR 3813 then UX 1083 at Madrid
Bologna → Madrid → Venezia
Timetable, Madrid time
21:35FR 3813 from Bologna at the gate
15:15UX 1083 to Venezia leaves the gate
17 h 40 apart on the timetable, overnight
UX 1083 leaves 17 h 40 after FR 3813 arrives on the timetable: more than half a day, so not a connection we count.