IB 651 then FR 5816 at Fiumicino
Madrid → Rome → Bari
Timetable, Rome time
15:30IB 651 from Madrid at the gate
08:15FR 5816 to Bari leaves the gate
16 h 45 apart on the timetable, overnight
FR 5816 leaves 16 h 45 after IB 651 arrives on the timetable: more than half a day, so not a connection we count.