BA 961 then VS 316 at Heathrow
Hamburg → London → Bengaluru
Timetable, London time
12:20BA 961 from Hamburg at the gate
11:55VS 316 to Bengaluru leaves the gate
23 h 35 apart on the timetable, overnight
VS 316 leaves 23 h 35 after BA 961 arrives on the timetable: more than half a day, so not a connection we count.