BA 371 then BA 5 at Heathrow
Toulouse → London → Tokyo
Timetable, London time
13:15BA 371 from Toulouse at the gate
11:40BA 5 to Tokyo leaves the gate
22 h 25 apart on the timetable, overnight
BA 5 leaves 22 h 25 after BA 371 arrives on the timetable: more than half a day, so not a connection we count.