W4 6022 then FR 5816 at Fiumicino
Barcelona → Rome → Bari
Timetable, Rome time
17:10W4 6022 from Barcelona at the gate
08:15FR 5816 to Bari leaves the gate
15 h 05 apart on the timetable, overnight
FR 5816 leaves 15 h 05 after W4 6022 arrives on the timetable: more than half a day, so not a connection we count.