AA 8713 then 3O 392 at Madrid
Dublin → Madrid → Tangier
Timetable, Madrid time
13:50AA 8713 from Dublin at the gate
13:403O 392 to Tangier leaves the gate
23 h 50 apart on the timetable, overnight
3O 392 leaves 23 h 50 after AA 8713 arrives on the timetable: more than half a day, so not a connection we count.