IB 786 then QR 6976 at Madrid
Berlin → Madrid → Buenos Aires
Timetable, Madrid time
22:55IB 786 from Berlin at the gatealso VY 5103, AA 8686
12:20QR 6976 to Buenos Aires leaves the gate
13 h 25 apart on the timetable, overnight
QR 6976 leaves 13 h 25 after IB 786 arrives on the timetable: more than half a day, so not a connection we count.