AZ 59 then FR 7075 at Fiumicino
Madrid → Rome → Bari
Timetable, Rome time
08:15AZ 59 from Madrid at the gate
05:55FR 7075 to Bari leaves the gate
21 h 40 apart on the timetable, overnight
FR 7075 leaves 21 h 40 after AZ 59 arrives on the timetable: more than half a day, so not a connection we count.