BA 931 then BA 964 at Heathrow
Düsseldorf → London → Hamburg
Timetable, London time
11:35BA 931 from Düsseldorf at the gate
11:30BA 964 to Hamburg leaves the gate
23 h 55 apart on the timetable, overnight
BA 964 leaves 23 h 55 after BA 931 arrives on the timetable: more than half a day, so not a connection we count.