EI 5791 then FR 2629 at Madrid
Dublin → Madrid → London Stansted
Timetable, Madrid time
13:50EI 5791 from Dublin at the gate
12:10FR 2629 to London Stansted leaves the gate
22 h 20 apart on the timetable, overnight
FR 2629 leaves 22 h 20 after EI 5791 arrives on the timetable: more than half a day, so not a connection we count.