FR 153 then FR 276 at Dublin
Leeds → Dublin → Glasgow
Timetable, Dublin time
21:35FR 153 from Leeds at the gate
17:15FR 276 to Glasgow leaves the gate
19 h 40 apart on the timetable, overnight
FR 276 leaves 19 h 40 after FR 153 arrives on the timetable: more than half a day, so not a connection we count.