FR 4596 then FR 3180 at Barcelona
Porto → Barcelona → Rome
Timetable, Barcelona time
10:55FR 4596 from Porto at the gate
07:55FR 3180 to Rome leaves the gate
21 h apart on the timetable, overnight
FR 3180 leaves 21 h after FR 4596 arrives on the timetable: more than half a day, so not a connection we count.