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