FR 5817 then FR 5842 at Fiumicino
Bari → Rome → Brindisi
Timetable, Rome time
19:05FR 5817 from Bari at the gate
14:50FR 5842 to Brindisi leaves the gate
19 h 45 apart on the timetable, overnight
FR 5842 leaves 19 h 45 after FR 5817 arrives on the timetable: more than half a day, so not a connection we count.