AZ 717 then FR 5872 at Fiumicino
Athens → Rome → Gdansk
Timetable, Rome time
07:10AZ 717 from Athens at the gate
06:25FR 5872 to Gdansk leaves the gate
23 h 15 apart on the timetable, overnight
FR 5872 leaves 23 h 15 after AZ 717 arrives on the timetable: more than half a day, so not a connection we count.