IB 5389 then QR 3513 at Barcelona
Bari → Barcelona → Málaga
Timetable, Barcelona time
23:20IB 5389 from Bari at the gatealso LL 5389, VY 6113
21:55QR 3513 to Málaga leaves the gate
22 h 35 apart on the timetable, overnight
QR 3513 leaves 22 h 35 after IB 5389 arrives on the timetable: more than half a day, so not a connection we count.