BA 1497 then WY 104 at Heathrow
Glasgow → London → Muscat
Timetable, London time
09:35BA 1497 from Glasgow at the gate
08:25WY 104 to Muscat leaves the gate
22 h 50 apart on the timetable, overnight
WY 104 leaves 22 h 50 after BA 1497 arrives on the timetable: more than half a day, so not a connection we count.