FR 210 then FR 5151 at Dublin
London Stansted → Dublin → Glasgow
Timetable, Dublin time
23:55FR 210 from London Stansted at the gate
21:15FR 5151 to Glasgow leaves the gate
21 h 20 apart on the timetable, overnight
FR 5151 leaves 21 h 20 after FR 210 arrives on the timetable: more than half a day, so not a connection we count.