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