AA 3115 then AS 523 at San Francisco
Chicago O'Hare → San Francisco → Santa Ana
Timetable, San Francisco time
11:29AA 3115 from Chicago O'Hare at the gatealso QF 4922
16:17AS 523 to Santa Ana leaves the gatealso QR 2120, QR 8882, AA 9343
4 h 48 apart on the timetable
The last days
AA 3115 and AS 523 weren’t both flown 15 min to 12 h apart in the last 21 days.
Statistics from past flights, not live flight information. Always check times and your connection with your airline, and don’t base travel or booking decisions on these numbers.