WN 4187 then UA 4717 at Phoenix
St Louis → Phoenix → Lagos
Timetable, Phoenix time
14:35WN 4187 from St Louis at the gate
14:28UA 4717 to Lagos leaves the gate
23 h 53 apart on the timetable, overnight
UA 4717 leaves 23 h 53 after WN 4187 arrives on the timetable: more than half a day, so not a connection we count.