FR 5150 then FR 666 at Dublin
Glasgow → Dublin → Birmingham (UK)
Timetable, Dublin time
16:55FR 5150 from Glasgow at the gate
06:00FR 666 to Birmingham (UK) leaves the gate
13 h 05 apart on the timetable, overnight
FR 666 leaves 13 h 05 after FR 5150 arrives on the timetable: more than half a day, so not a connection we count.