FR 5771 then FR 1974 at Dublin
Glasgow → Dublin → Poznan
Timetable, Dublin time
15:00FR 5771 from Glasgow at the gate
10:10FR 1974 to Poznan leaves the gate
19 h 10 apart on the timetable, overnight
FR 1974 leaves 19 h 10 after FR 5771 arrives on the timetable: more than half a day, so not a connection we count.