FR 635 then FR 152 at Dublin
Cardiff → Dublin → Leeds
Timetable, Dublin time
09:15FR 635 from Cardiff at the gate
07:25FR 152 to Leeds leaves the gate
22 h 10 apart on the timetable, overnight
FR 152 leaves 22 h 10 after FR 635 arrives on the timetable: more than half a day, so not a connection we count.