EK 158 then XY 502 at Dubai
Stockholm → Dubai → Jeddah
Timetable, Dubai time
00:05EK 158 from Stockholm at the gate
12:20XY 502 to Jeddah leaves the gate
12 h 15 apart on the timetable
XY 502 leaves 12 h 15 after EK 158 arrives on the timetable: more than half a day, so not a connection we count.