IB 5375 then IB 5388 at Barcelona
Firenze → Barcelona → Bari
Timetable, Barcelona time
17:55IB 5375 from Firenze at the gatealso LL 5375, VY 6075
13:25IB 5388 to Bari leaves the gatealso LL 5388, VY 6112
19 h 30 apart on the timetable, overnight
IB 5388 leaves 19 h 30 after IB 5375 arrives on the timetable: more than half a day, so not a connection we count.