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