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