EI 142 then FR 7156 at Dublin
Cancún → Dublin → Madrid
Timetable, Dublin time
11:00EI 142 from Cancún at the gate
09:10FR 7156 to Madrid leaves the gate
22 h 10 apart on the timetable, overnight
FR 7156 leaves 22 h 10 after EI 142 arrives on the timetable: more than half a day, so not a connection we count.