UA 3876 then UA 2142 at O'Hare
Miami → Chicago → Nashville
Timetable, Chicago time
14:49UA 3876 from Miami at the gate
14:05UA 2142 to Nashville leaves the gate
23 h 16 apart on the timetable, overnight
UA 2142 leaves 23 h 16 after UA 3876 arrives on the timetable: more than half a day, so not a connection we count.