EK 7 then BA 962 at Heathrow
Dubai → London → Hamburg
Timetable, London time
07:10EK 7 from Dubai at the gate
06:45BA 962 to Hamburg leaves the gate
23 h 35 apart on the timetable, overnight
BA 962 leaves 23 h 35 after EK 7 arrives on the timetable: more than half a day, so not a connection we count.