FR 7538 then AT 961 at Barcelona
Milan → Barcelona → Casablanca
Timetable, Barcelona time
00:40FR 7538 from Milan at the gate
19:10AT 961 to Casablanca leaves the gate
18 h 30 apart on the timetable
AT 961 leaves 18 h 30 after FR 7538 arrives on the timetable: more than half a day, so not a connection we count.