BA 781 then BA 1340 at Heathrow
Stockholm → London → Newcastle
Timetable, London time
19:55BA 781 from Stockholm at the gate
19:40BA 1340 to Newcastle leaves the gate
23 h 45 apart on the timetable, overnight
BA 1340 leaves 23 h 45 after BA 781 arrives on the timetable: more than half a day, so not a connection we count.