FR 661 then FR 5772 at Dublin
Birmingham (UK) → Dublin → Glasgow
Timetable, Dublin time
20:20FR 661 from Birmingham (UK) at the gate
12:35FR 5772 to Glasgow leaves the gate
16 h 15 apart on the timetable, overnight
FR 5772 leaves 16 h 15 after FR 661 arrives on the timetable: more than half a day, so not a connection we count.