F3 573 then TK 350 at Istanbul
Riyadh → Istanbul → Almaty
Timetable, Istanbul time
21:30F3 573 from Riyadh at the gate
20:55TK 350 to Almaty leaves the gate
23 h 25 apart on the timetable, overnight
TK 350 leaves 23 h 25 after F3 573 arrives on the timetable: more than half a day, so not a connection we count.