FR 338 then FR 10 at Dublin
London Luton → Dublin → Madrid
Timetable, Dublin time
20:55FR 338 from London Luton at the gate
19:00FR 10 to Madrid leaves the gate
22 h 05 apart on the timetable, overnight
FR 10 leaves 22 h 05 after FR 338 arrives on the timetable: more than half a day, so not a connection we count.