FR 1024 then FR 5565 at Dublin
Budapest → Dublin → Glasgow
Timetable, Dublin time
13:55FR 1024 from Budapest at the gate
11:30FR 5565 to Glasgow leaves the gate
21 h 35 apart on the timetable, overnight
FR 5565 leaves 21 h 35 after FR 1024 arrives on the timetable: more than half a day, so not a connection we count.