FR 651 then FR 5565 at Dublin
Lisbon → Dublin → Glasgow
Timetable, Dublin time
00:55FR 651 from Lisbon at the gate
21:00FR 5565 to Glasgow leaves the gate
20 h 05 apart on the timetable
FR 5565 leaves 20 h 05 after FR 651 arrives on the timetable: more than half a day, so not a connection we count.