FR 557 then FR 495 at Dublin
Manchester → Dublin → Madrid
Timetable, Dublin time
16:00FR 557 from Manchester at the gate
14:10FR 495 to Madrid leaves the gate
22 h 10 apart on the timetable, overnight
FR 495 leaves 22 h 10 after FR 557 arrives on the timetable: more than half a day, so not a connection we count.