LL 5107 then AT 965 at Barcelona
Prague → Barcelona → Casablanca
Timetable, Barcelona time
13:35LL 5107 from Prague at the gate
12:45AT 965 to Casablanca leaves the gate
23 h 10 apart on the timetable, overnight
AT 965 leaves 23 h 10 after LL 5107 arrives on the timetable: more than half a day, so not a connection we count.