BA 371 then BA 1446 at Heathrow
Toulouse → London → Edinburgh
Timetable, London time
11:25BA 371 from Toulouse at the gate
10:50BA 1446 to Edinburgh leaves the gate
23 h 25 apart on the timetable, overnight
BA 1446 leaves 23 h 25 after BA 371 arrives on the timetable: more than half a day, so not a connection we count.