UA 14 then BA 1302 at Heathrow
Newark → London → Aberdeen
Timetable, London time
08:25UA 14 from Newark at the gate
08:05BA 1302 to Aberdeen leaves the gate
23 h 40 apart on the timetable, overnight
BA 1302 leaves 23 h 40 after UA 14 arrives on the timetable: more than half a day, so not a connection we count.