BA 42 then BA 974 at Heathrow
Cape Town → London → Berlin
Timetable, London time
06:35BA 42 from Cape Town at the gate
06:05BA 974 to Berlin leaves the gate
23 h 30 apart on the timetable, overnight
BA 974 leaves 23 h 30 after BA 42 arrives on the timetable: more than half a day, so not a connection we count.