FR 338 then FR 5563 at Dublin
London Luton → Dublin → Glasgow
Timetable, Dublin time
17:20FR 338 from London Luton at the gate
06:25FR 5563 to Glasgow leaves the gate
13 h 05 apart on the timetable, overnight
FR 5563 leaves 13 h 05 after FR 338 arrives on the timetable: more than half a day, so not a connection we count.