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