UA 1531 then AA 901 at San Francisco
Santa Ana → San Francisco → Phoenix
Timetable, San Francisco time
20:02UA 1531 from Santa Ana at the gate
19:05AA 901 to Phoenix leaves the gate
23 h 03 apart on the timetable, overnight
AA 901 leaves 23 h 03 after UA 1531 arrives on the timetable: more than half a day, so not a connection we count.