UA 1882 then UA 1177 at Denver
Nashville → Denver → Cancún
Timetable, Denver time
10:20UA 1882 from Nashville at the gate
09:57UA 1177 to Cancún leaves the gate
23 h 37 apart on the timetable, overnight
UA 1177 leaves 23 h 37 after UA 1882 arrives on the timetable: more than half a day, so not a connection we count.