BA 1481 then U2 8741 at Gatwick
Glasgow → London → Sharm El Sheikh
Timetable, London time
08:40BA 1481 from Glasgow at the gate
08:15U2 8741 to Sharm El Sheikh leaves the gate
23 h 35 apart on the timetable, overnight
U2 8741 leaves 23 h 35 after BA 1481 arrives on the timetable: more than half a day, so not a connection we count.