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