BA 371 then BA 438 at Heathrow
Toulouse → London → Amsterdam
Timetable, London time
13:15BA 371 from Toulouse at the gate
12:50BA 438 to Amsterdam leaves the gate
23 h 35 apart on the timetable, overnight
BA 438 leaves 23 h 35 after BA 371 arrives on the timetable: more than half a day, so not a connection we count.