KM 784 then UD 162 at Istanbul
Valletta → Istanbul → Baghdad
Timetable, Istanbul time
21:45KM 784 from Valletta at the gate
14:00UD 162 to Baghdad leaves the gate
16 h 15 apart on the timetable, overnight
UD 162 leaves 16 h 15 after KM 784 arrives on the timetable: more than half a day, so not a connection we count.