BA 975 then BA 177 at Heathrow
Berlin → London → New York JFK
Timetable, London time
13:05BA 975 from Berlin at the gate
12:55BA 177 to New York JFK leaves the gate
23 h 50 apart on the timetable, overnight
BA 177 leaves 23 h 50 after BA 975 arrives on the timetable: more than half a day, so not a connection we count.