FR 157 then EI 3554 at Dublin
Leeds → Dublin → Edinburgh
Timetable, Dublin time
21:55FR 157 from Leeds at the gate
15:30EI 3554 to Edinburgh leaves the gate
17 h 35 apart on the timetable, overnight
EI 3554 leaves 17 h 35 after FR 157 arrives on the timetable: more than half a day, so not a connection we count.