PK 233 then XY 216 at Dubai
Islamabad → Dubai → Riyadh
Timetable, Dubai time
11:00PK 233 from Islamabad at the gate
07:05XY 216 to Riyadh leaves the gate
20 h 05 apart on the timetable, overnight
XY 216 leaves 20 h 05 after PK 233 arrives on the timetable: more than half a day, so not a connection we count.