BA 581 then BA 984 at Heathrow
Milan → London → Berlin
Timetable, London time
14:35BA 581 from Milan at the gate
14:25BA 984 to Berlin leaves the gate
23 h 50 apart on the timetable, overnight
BA 984 leaves 23 h 50 after BA 581 arrives on the timetable: more than half a day, so not a connection we count.