FR 1917 then FR 5151 at Dublin
Manchester → Dublin → Glasgow
Timetable, Dublin time
23:25FR 1917 from Manchester at the gate
12:30FR 5151 to Glasgow leaves the gate
13 h 05 apart on the timetable, overnight
FR 5151 leaves 13 h 05 after FR 1917 arrives on the timetable: more than half a day, so not a connection we count.