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