AA 9909 then WN 2791 at Phoenix
Salt Lake City → Phoenix → Lagos
Timetable, Phoenix time
14:30AA 9909 from Salt Lake City at the gate
11:20WN 2791 to Lagos leaves the gate
20 h 50 apart on the timetable, overnight
WN 2791 leaves 20 h 50 after AA 9909 arrives on the timetable: more than half a day, so not a connection we count.