FR 123 then FR 276 at Dublin
London Gatwick → Dublin → Glasgow
Timetable, Dublin time
22:50FR 123 from London Gatwick at the gate
19:15FR 276 to Glasgow leaves the gate
20 h 25 apart on the timetable, overnight
FR 276 leaves 20 h 25 after FR 123 arrives on the timetable: more than half a day, so not a connection we count.