QR 151 then AR 1133 at Madrid
Doha → Madrid → Buenos Aires
Timetable, Madrid time
20:35QR 151 from Doha at the gate
19:05AR 1133 to Buenos Aires leaves the gate
22 h 30 apart on the timetable, overnight
AR 1133 leaves 22 h 30 after QR 151 arrives on the timetable: more than half a day, so not a connection we count.