DP 995 then TK 1859 at Istanbul
Moscow Vnukovo → Istanbul → Madrid
Timetable, Istanbul time
16:10DP 995 from Moscow Vnukovo at the gate
13:55TK 1859 to Madrid leaves the gate
21 h 45 apart on the timetable, overnight
TK 1859 leaves 21 h 45 after DP 995 arrives on the timetable: more than half a day, so not a connection we count.