MS 793 then FR 5816 at Fiumicino
Cairo → Rome → Bari
Timetable, Rome time
16:30MS 793 from Cairo at the gate
16:10FR 5816 to Bari leaves the gate
23 h 40 apart on the timetable, overnight
FR 5816 leaves 23 h 40 after MS 793 arrives on the timetable: more than half a day, so not a connection we count.