FR 6974 then FR 4271 at Barcelona
Rome → Barcelona → Poznan
Timetable, Barcelona time
22:25FR 6974 from Rome at the gate
17:55FR 4271 to Poznan leaves the gate
19 h 30 apart on the timetable, overnight
FR 4271 leaves 19 h 30 after FR 6974 arrives on the timetable: more than half a day, so not a connection we count.