EC 7154 then IB 5388 at Barcelona
Milan → Barcelona → Bari
Timetable, Barcelona time
23:15EC 7154 from Milan at the gate
11:40IB 5388 to Bari leaves the gatealso LL 5388, VY 6112
12 h 25 apart on the timetable, overnight
IB 5388 leaves 12 h 25 after EC 7154 arrives on the timetable: more than half a day, so not a connection we count.