FR 2628 then FR 494 at Madrid
London Stansted → Madrid → Dublin
Timetable, Madrid time
20:10FR 2628 from London Stansted at the gate
16:40FR 494 to Dublin leaves the gate
20 h 30 apart on the timetable, overnight
FR 494 leaves 20 h 30 after FR 2628 arrives on the timetable: more than half a day, so not a connection we count.