According to Islamic law, death penalty is essential for rapists. A rapist is given a death sentence in Iran. Even for other crimes, death is the penalty. Sometimes, the rape victim settles the case by taking compensation. In such a case, the rapist gets away with 100 lashes and sometimes imprisonment.
In Russia, the convict has to serve a term of imprisonment for 3+ years which can go up to 30 years depending on the harm done to the victim.
India made its rape punishment laws even stronger after the Anti-Rape Bill passed in 2013. The rapist is either given an imprisonment of 14 years and in rarest of the rarest case, the rapist is hanged to the death.