BA 827 then BA 990 at Heathrow
Dublin → London → Berlin
Timetable, London time
16:35BA 827 from Dublin at the gate
16:00BA 990 to Berlin leaves the gate
23 h 25 apart on the timetable, overnight
BA 990 leaves 23 h 25 after BA 827 arrives on the timetable: more than half a day, so not a connection we count.