U2 8316 then U2 847 at Gatwick
Pisa → London → Inverness
Timetable, London time
15:25U2 8316 from Pisa at the gate
12:35U2 847 to Inverness leaves the gate
21 h 10 apart on the timetable, overnight
U2 847 leaves 21 h 10 after U2 8316 arrives on the timetable: more than half a day, so not a connection we count.