AT 964 then FR 2239 at Barcelona
Casablanca → Barcelona → Marrakesh
Timetable, Barcelona time
11:45AT 964 from Casablanca at the gate
10:45FR 2239 to Marrakesh leaves the gate
23 h apart on the timetable, overnight
FR 2239 leaves 23 h after AT 964 arrives on the timetable: more than half a day, so not a connection we count.