FR 3180 then FR 5872 at Fiumicino
Barcelona → Rome → Gdansk
Timetable, Rome time
09:50FR 3180 from Barcelona at the gate
09:20FR 5872 to Gdansk leaves the gate
23 h 30 apart on the timetable, overnight
FR 5872 leaves 23 h 30 after FR 3180 arrives on the timetable: more than half a day, so not a connection we count.