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