EK 507 then FZ 5 at Dubai
Mumbai → Dubai → Doha
Timetable, Dubai time
20:40EK 507 from Mumbai at the gate
19:50FZ 5 to Doha leaves the gate
23 h 10 apart on the timetable, overnight
FZ 5 leaves 23 h 10 after EK 507 arrives on the timetable: more than half a day, so not a connection we count.