FR 1909 then FR 495 at Dublin
Gdansk → Dublin → Madrid
Timetable, Dublin time
17:05FR 1909 from Gdansk at the gate
10:00FR 495 to Madrid leaves the gate
16 h 55 apart on the timetable, overnight
FR 495 leaves 16 h 55 after FR 1909 arrives on the timetable: more than half a day, so not a connection we count.