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