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