AA 9909 then UA 4717 at Phoenix
Salt Lake City → Phoenix → Lagos
Timetable, Phoenix time
14:30AA 9909 from Salt Lake City at the gate
14:28UA 4717 to Lagos leaves the gate
23 h 58 apart on the timetable, overnight
UA 4717 leaves 23 h 58 after AA 9909 arrives on the timetable: more than half a day, so not a connection we count.