BA 961 then BA 416 at Heathrow
Hamburg → London → Tenerife South
Timetable, London time
12:20BA 961 from Hamburg at the gate
12:05BA 416 to Tenerife South leaves the gate
23 h 45 apart on the timetable, overnight
BA 416 leaves 23 h 45 after BA 961 arrives on the timetable: more than half a day, so not a connection we count.