FR 287 then FR 495 at Dublin
London Stansted → Dublin → Madrid
Timetable, Dublin time
18:35FR 287 from London Stansted at the gate
14:10FR 495 to Madrid leaves the gate
19 h 35 apart on the timetable, overnight
FR 495 leaves 19 h 35 after FR 287 arrives on the timetable: more than half a day, so not a connection we count.