BA 1327 then IB 716 at Heathrow
Newcastle → London → Madrid
Timetable, London time
12:45BA 1327 from Newcastle at the gate
11:25IB 716 to Madrid leaves the gate
22 h 40 apart on the timetable, overnight
IB 716 leaves 22 h 40 after BA 1327 arrives on the timetable: more than half a day, so not a connection we count.