BA 1497 then BA 898 at Heathrow
Glasgow → London → Paphos
Timetable, London time
07:50BA 1497 from Glasgow at the gate
07:25BA 898 to Paphos leaves the gate
23 h 35 apart on the timetable, overnight
BA 898 leaves 23 h 35 after BA 1497 arrives on the timetable: more than half a day, so not a connection we count.