XY 557 then IA 216 at Istanbul
Jeddah → Istanbul → Baghdad
Timetable, Istanbul time
19:20XY 557 from Jeddah at the gate
11:00IA 216 to Baghdad leaves the gate
15 h 40 apart on the timetable, overnight
IA 216 leaves 15 h 40 after XY 557 arrives on the timetable: more than half a day, so not a connection we count.