UA 455 then UA 5959 at Phoenix
Chicago O'Hare → Phoenix → Lagos
Timetable, Phoenix time
15:57UA 455 from Chicago O'Hare at the gate
14:28UA 5959 to Lagos leaves the gate
22 h 31 apart on the timetable, overnight
UA 5959 leaves 22 h 31 after UA 455 arrives on the timetable: more than half a day, so not a connection we count.