BA 965 then EK 4 at Heathrow
Hamburg → London → Dubai
Timetable, London time
21:30BA 965 from Hamburg at the gate
20:20EK 4 to Dubai leaves the gate
22 h 50 apart on the timetable, overnight
EK 4 leaves 22 h 50 after BA 965 arrives on the timetable: more than half a day, so not a connection we count.