KL 1513 then QR 3597 at Barcelona
Amsterdam → Barcelona → Málaga
Timetable, Barcelona time
12:15KL 1513 from Amsterdam at the gatealso DL 9186
07:10QR 3597 to Málaga leaves the gate
18 h 55 apart on the timetable, overnight
QR 3597 leaves 18 h 55 after KL 1513 arrives on the timetable: more than half a day, so not a connection we count.