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