UA 5708 then UA 3871 at O'Hare
Washington National → Chicago → Xiamen
Timetable, Chicago time
15:40UA 5708 from Washington National at the gate
15:30UA 3871 to Xiamen leaves the gate
23 h 50 apart on the timetable, overnight
UA 3871 leaves 23 h 50 after UA 5708 arrives on the timetable: more than half a day, so not a connection we count.