BA 965 then BA 822 at Heathrow
Hamburg → London → Billund
Timetable, London time
16:35BA 965 from Hamburg at the gate
16:05BA 822 to Billund leaves the gate
23 h 30 apart on the timetable, overnight
BA 822 leaves 23 h 30 after BA 965 arrives on the timetable: more than half a day, so not a connection we count.