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