The Qur'an prescribes severe punishments, up to the death penalty, for men who harass innocent women.
33:57 Surely, those who malign God and His Messenger, God will deprive them of His grace in this world and in the Hereafter. He has readied for them a humiliating punishment.
33:58 And those who malign the believing men and the believing women undeservedly, they bear the guilt of slander, and manifestly drag down their own humanity.
33:59 O Prophet! Tell your wives, your daughters, and women of the believers that they should draw their outer garments around their body (when outdoors). This is easy and proper so that they may be recognized (as decent women) and not bothered. God is Absolver of imperfections, Merciful. (24:31)
[Jalbab = Outer garment = Overcoat = Lengthened dress = Chadar = Shawl = Loose-fitting garment = Modest dress. Body Parts Women Can Show In Public: Face, hands and forearms, heads, feet and ankles as during ablution. See 5:6. A Hadith that agrees with the Qur’an: Ibn Umar said that during the times of Rasoolullah (S) men and women used to do Wudhu together. – Bukhari, Kitabil Wudhu]
RAPE: Most people think that the Qur’an prescribes no punishment for the rapist. But the Qur’an claims to be a well perfected Book and that it covers all things that were necessary to be revealed (Tibiyaanan likulli shayi 16:89). The Qur’an does not use Zina-bil-Jabr (forced sex) for good reason since it prescribes grievous punishment even for harassing or bothering women. The term used in 33:60 derives from Rajf = Creating alarm = Bothering = Frightening = Harassing = Causing to tremble = Inciting fear. The punishment for men creating Rajf among women could vary from exile to slaying depending on the extent of Rajf caused by the accused]
33:60 Thus it is: If the hypocrites, and those in whose hearts is disease, and those who create turmoil in the City do not desist (from harassing women), We shall give you control over them (O Prophet). And then they will be your neighbors for no more than a short while. [See context 33:59]
33:61 Accursed, they shall be seized wherever found and slain one and all. [This is the penalty for men who keep annoying innocent women on the street, assault them or rape them]
33:62 That was the way of God among those who lived before. And never will you find any change in God’s way.