EK 506 then SG 622 at Mumbai
Dubai → Mumbai → Varanasi
Timetable, Mumbai time
13:55EK 506 from Dubai at the gate
10:40SG 622 to Varanasi leaves the gate
20 h 45 apart on the timetable, overnight
SG 622 leaves 20 h 45 after EK 506 arrives on the timetable: more than half a day, so not a connection we count.