BA 459 then BA 1332 at Heathrow
Madrid → London → Newcastle
Timetable, London time
13:30BA 459 from Madrid at the gate
11:35BA 1332 to Newcastle leaves the gate
22 h 05 apart on the timetable, overnight
BA 1332 leaves 22 h 05 after BA 459 arrives on the timetable: more than half a day, so not a connection we count.