FR 270 then AT 965 at Barcelona
Milan → Barcelona → Casablanca
Timetable, Barcelona time
17:10FR 270 from Milan at the gate
12:45AT 965 to Casablanca leaves the gate
19 h 35 apart on the timetable, overnight
AT 965 leaves 19 h 35 after FR 270 arrives on the timetable: more than half a day, so not a connection we count.