BA 1451 then BA 762 at Heathrow
Edinburgh → London → Basel
Timetable, London time
17:30BA 1451 from Edinburgh at the gate
17:20BA 762 to Basel leaves the gate
23 h 50 apart on the timetable, overnight
BA 762 leaves 23 h 50 after BA 1451 arrives on the timetable: more than half a day, so not a connection we count.