IB 5353 then FR 878 at Barcelona
Milan → Barcelona → Venezia
Timetable, Barcelona time
11:55IB 5353 from Milan at the gate
08:30FR 878 to Venezia leaves the gate
20 h 35 apart on the timetable, overnight
FR 878 leaves 20 h 35 after IB 5353 arrives on the timetable: more than half a day, so not a connection we count.