IB 48 then QR 6976 at Madrid
Málaga → Madrid → Buenos Aires
Timetable, Madrid time
23:15IB 48 from Málaga at the gate
12:20QR 6976 to Buenos Aires leaves the gate
13 h 05 apart on the timetable, overnight
QR 6976 leaves 13 h 05 after IB 48 arrives on the timetable: more than half a day, so not a connection we count.