QR 3522 then W6 4116 at Barcelona
Málaga → Barcelona → Belgrade
Timetable, Barcelona time
01:20QR 3522 from Málaga at the gate
22:35W6 4116 to Belgrade leaves the gate
21 h 15 apart on the timetable
W6 4116 leaves 21 h 15 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.