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