QR 3502 then VY 1074 at Barcelona
Málaga → Barcelona → Berlin
Timetable, Barcelona time
21:10QR 3502 from Málaga at the gate
18:00VY 1074 to Berlin leaves the gatealso IB 5018, LL 5018
20 h 50 apart on the timetable, overnight
VY 1074 leaves 20 h 50 after QR 3502 arrives on the timetable: more than half a day, so not a connection we count.