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