FR 271 then FR 495 at Dublin
London Stansted → Dublin → Madrid
Timetable, Dublin time
09:50FR 271 from London Stansted at the gate
05:55FR 495 to Madrid leaves the gate
20 h 05 apart on the timetable, overnight
FR 495 leaves 20 h 05 after FR 271 arrives on the timetable: more than half a day, so not a connection we count.