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