AZ 1612 then FR 3181 at Fiumicino
Bari → Rome → Barcelona
Timetable, Rome time
12:30AZ 1612 from Bari at the gate
11:50FR 3181 to Barcelona leaves the gate
23 h 20 apart on the timetable, overnight
FR 3181 leaves 23 h 20 after AZ 1612 arrives on the timetable: more than half a day, so not a connection we count.