FR 6722 then AA 8559 at Madrid
Marrakesh → Madrid → Tenerife North
Timetable, Madrid time
19:00FR 6722 from Marrakesh at the gate
18:45AA 8559 to Tenerife North leaves the gate
23 h 45 apart on the timetable, overnight
AA 8559 leaves 23 h 45 after FR 6722 arrives on the timetable: more than half a day, so not a connection we count.