DL 5771 then DL 5051 at Detroit
Indianapolis → Detroit → Buffalo
Timetable, Detroit time
18:14DL 5771 from Indianapolis at the gate
14:01DL 5051 to Buffalo leaves the gate
19 h 47 apart on the timetable, overnight
DL 5051 leaves 19 h 47 after DL 5771 arrives on the timetable: more than half a day, so not a connection we count.