IB 986 then QR 6976 at Madrid
London Gatwick → Madrid → Buenos Aires
Timetable, Madrid time
23:00IB 986 from London Gatwick at the gatealso BA 4240, VY 5527
11:45QR 6976 to Buenos Aires leaves the gate
12 h 45 apart on the timetable, overnight
QR 6976 leaves 12 h 45 after IB 986 arrives on the timetable: more than half a day, so not a connection we count.