FR 994 then FR 5816 at Fiumicino
Valencia → Rome → Bari
Timetable, Rome time
12:50FR 994 from Valencia at the gate
08:15FR 5816 to Bari leaves the gate
19 h 25 apart on the timetable, overnight
FR 5816 leaves 19 h 25 after FR 994 arrives on the timetable: more than half a day, so not a connection we count.