FR 1280 then AT 961 at Barcelona
Copenhagen → Barcelona → Casablanca
Timetable, Barcelona time
20:35FR 1280 from Copenhagen at the gate
19:10AT 961 to Casablanca leaves the gate
22 h 35 apart on the timetable, overnight
AT 961 leaves 22 h 35 after FR 1280 arrives on the timetable: more than half a day, so not a connection we count.