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