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