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