FR 7466 then AA 8850 at Madrid
Tangier → Madrid → Marrakesh
Timetable, Madrid time
14:05FR 7466 from Tangier at the gate
11:50AA 8850 to Marrakesh leaves the gate
21 h 45 apart on the timetable, overnight
AA 8850 leaves 21 h 45 after FR 7466 arrives on the timetable: more than half a day, so not a connection we count.