AA 642 then AA 4717 at O'Hare
Dallas-Fort Worth → Chicago → Madison
Timetable, Chicago time
13:10AA 642 from Dallas-Fort Worth at the gate
09:30AA 4717 to Madison leaves the gate
20 h 20 apart on the timetable, overnight
AA 4717 leaves 20 h 20 after AA 642 arrives on the timetable: more than half a day, so not a connection we count.