UA 2417 then UA 5191 at O'Hare
Houston → Chicago → Lancaster
Timetable, Chicago time
14:51UA 2417 from Houston at the gate
08:50UA 5191 to Lancaster leaves the gate
17 h 59 apart on the timetable, overnight
UA 5191 leaves 17 h 59 after UA 2417 arrives on the timetable: more than half a day, so not a connection we count.