AA 8733 then QR 6976 at Madrid
Palma de Mallorca → Madrid → Buenos Aires
Timetable, Madrid time
22:55AA 8733 from Palma de Mallorca at the gate
12:05QR 6976 to Buenos Aires leaves the gate
13 h 10 apart on the timetable, overnight
QR 6976 leaves 13 h 10 after AA 8733 arrives on the timetable: more than half a day, so not a connection we count.