IB 413 then IB 5388 at Barcelona
Madrid → Barcelona → Bari
Timetable, Barcelona time
14:20IB 413 from Madrid at the gatealso IB 413S, CX 1841, LL 3013, VY 5050, LA 5401, AV 6146, QR 6939, BA 7133, AA 8688
11:40IB 5388 to Bari leaves the gatealso LL 5388, VY 6112
21 h 20 apart on the timetable, overnight
IB 5388 leaves 21 h 20 after IB 413 arrives on the timetable: more than half a day, so not a connection we count.