BA 993 then BA 866 at Heathrow
Berlin → London → Budapest
Timetable, London time
07:40BA 993 from Berlin at the gate
07:25BA 866 to Budapest leaves the gate
23 h 45 apart on the timetable, overnight
BA 866 leaves 23 h 45 after BA 993 arrives on the timetable: more than half a day, so not a connection we count.