QR 3522 then FR 133 at Barcelona
Málaga → Barcelona → Berlin
Timetable, Barcelona time
00:55QR 3522 from Málaga at the gate
18:50FR 133 to Berlin leaves the gate
17 h 55 apart on the timetable
FR 133 leaves 17 h 55 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.