AZ 863 then FR 5816 at Fiumicino
Tunis → Rome → Bari
Timetable, Rome time
12:50AZ 863 from Tunis 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 AZ 863 arrives on the timetable: more than half a day, so not a connection we count.