EK 31 then BA 1338 at Heathrow
Dubai → London → Newcastle
Timetable, London time
16:10EK 31 from Dubai at the gate
16:05BA 1338 to Newcastle leaves the gate
23 h 55 apart on the timetable, overnight
BA 1338 leaves 23 h 55 after EK 31 arrives on the timetable: more than half a day, so not a connection we count.