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