This question already has an answer here:
I need to apply for a transit visa to go outside the Russian airport (48 hours of layover). Due to shortage of time I cannot apply the transit visa in India. Does Russian government allow passenger to take transit visa from the airport itself ?
Passenger should have take visa if they even have to stay in Transit area for more than 24 hours. How do they apply?