FR 4065 then AA 8850 at Madrid
Catania → Madrid → Marrakesh
Timetable, Madrid time
13:10FR 4065 from Catania at the gate
11:50AA 8850 to Marrakesh leaves the gate
22 h 40 apart on the timetable, overnight
AA 8850 leaves 22 h 40 after FR 4065 arrives on the timetable: more than half a day, so not a connection we count.