QR 3522 then W6 4406 at Barcelona
Málaga → Barcelona → Sofia
Timetable, Barcelona time
01:20QR 3522 from Málaga at the gate
19:40W6 4406 to Sofia leaves the gate
18 h 20 apart on the timetable
W6 4406 leaves 18 h 20 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.