U2 862 then U2 8525 at Gatwick
Glasgow → London → Porto
Timetable, London time
08:00U2 862 from Glasgow at the gate
07:00U2 8525 to Porto leaves the gate
23 h apart on the timetable, overnight
U2 8525 leaves 23 h after U2 862 arrives on the timetable: more than half a day, so not a connection we count.