FG 401 then FZ 993 at Dubai
Kabul → Dubai → Makhachkala
Timetable, Dubai time
23:15FG 401 from Kabul at the gate
22:55FZ 993 to Makhachkala leaves the gate
23 h 40 apart on the timetable, overnight
FZ 993 leaves 23 h 40 after FG 401 arrives on the timetable: more than half a day, so not a connection we count.