CA 7295 then QF 3654 at San Francisco
Chicago O'Hare → San Francisco → New York JFK
Timetable, San Francisco time
00:53CA 7295 from Chicago O'Hare at the gate
23:00QF 3654 to New York JFK leaves the gate
22 h 07 apart on the timetable
QF 3654 leaves 22 h 07 after CA 7295 arrives on the timetable: more than half a day, so not a connection we count.