U2 8732 then U2 847 at Gatwick
Budapest → London → Inverness
Timetable, London time
18:15U2 8732 from Budapest at the gate
13:25U2 847 to Inverness leaves the gate
19 h 10 apart on the timetable, overnight
U2 847 leaves 19 h 10 after U2 8732 arrives on the timetable: more than half a day, so not a connection we count.