FR 132 then QR 3526 at Barcelona
Berlin → Barcelona → Málaga
Timetable, Barcelona time
22:35FR 132 from Berlin at the gate
19:25QR 3526 to Málaga leaves the gate
20 h 50 apart on the timetable, overnight
QR 3526 leaves 20 h 50 after FR 132 arrives on the timetable: more than half a day, so not a connection we count.