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