QR 3522 then EC 1010 at Barcelona
Málaga → Barcelona → Basel
Timetable, Barcelona time
00:55QR 3522 from Málaga at the gate
20:30EC 1010 to Basel leaves the gate
19 h 35 apart on the timetable
EC 1010 leaves 19 h 35 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.