FR 153 then FR 808 at Dublin
Leeds → Dublin → Edinburgh
Timetable, Dublin time
21:35FR 153 from Leeds at the gate
20:45FR 808 to Edinburgh leaves the gate
23 h 10 apart on the timetable, overnight
FR 808 leaves 23 h 10 after FR 153 arrives on the timetable: more than half a day, so not a connection we count.