EK 863 then PK 204 at Dubai
Muscat → Dubai → Lahore
Timetable, Dubai time
12:15EK 863 from Muscat at the gate
07:10PK 204 to Lahore leaves the gate
18 h 55 apart on the timetable, overnight
PK 204 leaves 18 h 55 after EK 863 arrives on the timetable: more than half a day, so not a connection we count.