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