BA 7607 then UA 1531 at San Francisco
Los Angeles → San Francisco → Washington
Timetable, San Francisco time
23:27BA 7607 from Los Angeles at the gate
21:28UA 1531 to Washington leaves the gatealso CA 7312
22 h 01 apart on the timetable, overnight
UA 1531 leaves 22 h 01 after BA 7607 arrives on the timetable: more than half a day, so not a connection we count.