QR 3522 then IB 5388 at Barcelona
Málaga → Barcelona → Bari
Timetable, Barcelona time
01:20QR 3522 from Málaga at the gate
18:15IB 5388 to Bari leaves the gatealso LL 5388, VY 6112
16 h 55 apart on the timetable
IB 5388 leaves 16 h 55 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.