AA 1413 then QR 8167 at O'Hare
New York LaGuardia → Chicago → Doha
Timetable, Chicago time
07:52AA 1413 from New York LaGuardia at the gate
04:40QR 8167 to Doha leaves the gate
20 h 48 apart on the timetable, overnight
QR 8167 leaves 20 h 48 after AA 1413 arrives on the timetable: more than half a day, so not a connection we count.