AZ 1616 then FR 6138 at Fiumicino
Bari → Rome → Málaga
Timetable, Rome time
16:25AZ 1616 from Bari at the gate
11:45FR 6138 to Málaga leaves the gate
19 h 20 apart on the timetable, overnight
FR 6138 leaves 19 h 20 after AZ 1616 arrives on the timetable: more than half a day, so not a connection we count.