UA 1971 then UA 3876 at O'Hare
San Francisco → Chicago → Miami
Timetable, Chicago time
05:02UA 1971 from San Francisco at the gate
21:00UA 3876 to Miami leaves the gate
15 h 58 apart on the timetable
UA 3876 leaves 15 h 58 after UA 1971 arrives on the timetable: more than half a day, so not a connection we count.