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