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