FR 5873 then FR 9601 at Fiumicino
Gdansk → Rome → Madrid
Timetable, Rome time
12:00FR 5873 from Gdansk at the gate
09:00FR 9601 to Madrid leaves the gate
21 h apart on the timetable, overnight
FR 9601 leaves 21 h after FR 5873 arrives on the timetable: more than half a day, so not a connection we count.