FR 334 then FR 6341 at Barcelona
Gdansk → Barcelona → Rome
Timetable, Barcelona time
09:15FR 334 from Gdansk at the gate
05:45FR 6341 to Rome leaves the gate
20 h 30 apart on the timetable, overnight
FR 6341 leaves 20 h 30 after FR 334 arrives on the timetable: more than half a day, so not a connection we count.