AA 8710 then EW 9511 at Madrid
Marrakesh → Madrid → Düsseldorf
Timetable, Madrid time
16:40AA 8710 from Marrakesh at the gate
13:10EW 9511 to Düsseldorf leaves the gate
20 h 30 apart on the timetable, overnight
EW 9511 leaves 20 h 30 after AA 8710 arrives on the timetable: more than half a day, so not a connection we count.