BA 541 then BA 1452 at Heathrow
Bologna → London → Edinburgh
Timetable, London time
13:55BA 541 from Bologna at the gate
13:45BA 1452 to Edinburgh leaves the gate
23 h 50 apart on the timetable, overnight
BA 1452 leaves 23 h 50 after BA 541 arrives on the timetable: more than half a day, so not a connection we count.