UA 4040 then DL 2681 at Atlanta
Houston → Atlanta → Madison
Timetable, Atlanta time
10:36UA 4040 from Houston at the gate
09:30DL 2681 to Madison leaves the gate
22 h 54 apart on the timetable, overnight
DL 2681 leaves 22 h 54 after UA 4040 arrives on the timetable: more than half a day, so not a connection we count.