UA 351 then UA 5522 at O'Hare
Washington National → Chicago → Kansas City
Timetable, Chicago time
10:50UA 351 from Washington National at the gate
08:40UA 5522 to Kansas City leaves the gate
21 h 50 apart on the timetable, overnight
UA 5522 leaves 21 h 50 after UA 351 arrives on the timetable: more than half a day, so not a connection we count.