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