AA 3827 then QR 8167 at O'Hare
Rochester (ROC) → Chicago → Doha
Timetable, Chicago time
06:19AA 3827 from Rochester (ROC) at the gate
04:40QR 8167 to Doha leaves the gate
22 h 21 apart on the timetable, overnight
QR 8167 leaves 22 h 21 after AA 3827 arrives on the timetable: more than half a day, so not a connection we count.