IB 5353 then QR 3597 at Barcelona
Milan → Barcelona → Málaga
Timetable, Barcelona time
11:55IB 5353 from Milan at the gate
07:10QR 3597 to Málaga leaves the gate
19 h 15 apart on the timetable, overnight
QR 3597 leaves 19 h 15 after IB 5353 arrives on the timetable: more than half a day, so not a connection we count.