UA 5596 then QF 3741 at San Francisco
Monterrey → San Francisco → San Diego
Timetable, San Francisco time
08:26UA 5596 from Monterrey at the gate
07:04QF 3741 to San Diego leaves the gate
22 h 38 apart on the timetable, overnight
QF 3741 leaves 22 h 38 after UA 5596 arrives on the timetable: more than half a day, so not a connection we count.