AC 800 then FR 5563 at Dublin
Toronto → Dublin → Glasgow
Timetable, Dublin time
07:10AC 800 from Toronto at the gate
05:55FR 5563 to Glasgow leaves the gate
22 h 45 apart on the timetable, overnight
FR 5563 leaves 22 h 45 after AC 800 arrives on the timetable: more than half a day, so not a connection we count.