UA 5941 then AA 5294 at O'Hare
Madison → Chicago → Knoxville
Timetable, Chicago time
20:22UA 5941 from Madison at the gate
19:59AA 5294 to Knoxville leaves the gate
23 h 37 apart on the timetable, overnight
AA 5294 leaves 23 h 37 after UA 5941 arrives on the timetable: more than half a day, so not a connection we count.