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