AA 8710 then FR 2766 at Madrid
Marrakesh → Madrid → Prague
Timetable, Madrid time
16:40AA 8710 from Marrakesh at the gate
09:50FR 2766 to Prague leaves the gate
17 h 10 apart on the timetable, overnight
FR 2766 leaves 17 h 10 after AA 8710 arrives on the timetable: more than half a day, so not a connection we count.