FR 776 then AT 965 at Barcelona
Venezia → Barcelona → Casablanca
Timetable, Barcelona time
15:35FR 776 from Venezia at the gate
12:45AT 965 to Casablanca leaves the gate
21 h 10 apart on the timetable, overnight
AT 965 leaves 21 h 10 after FR 776 arrives on the timetable: more than half a day, so not a connection we count.