DL 5771 then AA 3977 at Detroit
Indianapolis → Detroit → Chicago O'Hare
Timetable, Detroit time
18:14DL 5771 from Indianapolis at the gate
13:31AA 3977 to Chicago O'Hare leaves the gate
19 h 17 apart on the timetable, overnight
AA 3977 leaves 19 h 17 after DL 5771 arrives on the timetable: more than half a day, so not a connection we count.