IB 5465 then AT 965 at Barcelona
Lyon → Barcelona → Casablanca
Timetable, Barcelona time
17:40IB 5465 from Lyon at the gate
12:45AT 965 to Casablanca leaves the gate
19 h 05 apart on the timetable, overnight
AT 965 leaves 19 h 05 after IB 5465 arrives on the timetable: more than half a day, so not a connection we count.