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