XY 205 then WY 610 at Dubai
Riyadh → Dubai → Muscat
Timetable, Dubai time
17:45XY 205 from Riyadh at the gate
17:00WY 610 to Muscat leaves the gate
23 h 15 apart on the timetable, overnight
WY 610 leaves 23 h 15 after XY 205 arrives on the timetable: more than half a day, so not a connection we count.