QR 3692 then AT 965 at Barcelona
Lyon → Barcelona → Casablanca
Timetable, Barcelona time
22:45QR 3692 from Lyon at the gate
12:45AT 965 to Casablanca leaves the gate
14 h apart on the timetable, overnight
AT 965 leaves 14 h after QR 3692 arrives on the timetable: more than half a day, so not a connection we count.