QR 3704 then AT 965 at Barcelona
Bari → Barcelona → Casablanca
Timetable, Barcelona time
16:50QR 3704 from Bari at the gate
12:45AT 965 to Casablanca leaves the gate
19 h 55 apart on the timetable, overnight
AT 965 leaves 19 h 55 after QR 3704 arrives on the timetable: more than half a day, so not a connection we count.