BA 967 then BA 762 at Heathrow
Hamburg → London → Basel
Timetable, London time
16:10BA 967 from Hamburg at the gate
16:00BA 762 to Basel leaves the gate
23 h 50 apart on the timetable, overnight
BA 762 leaves 23 h 50 after BA 967 arrives on the timetable: more than half a day, so not a connection we count.