BA 463 then BA 1334 at Heathrow
Madrid → London → Newcastle
Timetable, London time
16:05BA 463 from Madrid at the gate
14:40BA 1334 to Newcastle leaves the gate
22 h 35 apart on the timetable, overnight
BA 1334 leaves 22 h 35 after BA 463 arrives on the timetable: more than half a day, so not a connection we count.