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