Egypt's Dar al-Ifta in an official statement: Sexual harassment is a crime and an abominable sin
In the Name of God. And peace and blessings be upon our master, the Messenger of God, and upon his family, Companions and those who have followed his guidance until the Day of Judgment.
Sexual harassment is a crime, major sin and an act of hypocrisy. Islam declares sexual harassment a repugnant act and promises its doer a severe punishment in this world and the Hereafter. The State’s entire specialized institutions have to shoulder the responsibility of firmly countering all the heinous and shameful forms of sexual harassment and make deceive decisions against the perpetrators.
According to the teachings of Islam, sexual harassment comes under obscenity and indecencies. The Prophet (peace and blessings be upon him) told us that God Almighty is ever displeased with the doer of this abominable sin, who accordingly encroaches upon the limits of faith.
The Messenger (peace and blessings be upon him) also told us that God Almighty prepared severe punishment for the perpetrator. Imam At-Termidhi reported in his Sunan, Bukhari reported in al-Adab al-Mufrid, ibn Hibban reported in his Sahih on the authority of Abu Ad-Dardaa’ that the Messenger of God (peace and blessings be upon him) said, “Verily, God hates the shameless obscene person.”
God Almighty says in the Quran, “And those who harm believing men and believing women for [something] other than what they have earned have certainly born upon themselves a slander and manifest sin.” (33:58)
According to this Quranic injunction, harm includes verbal and physical harassment. In his tafsir (Quran exegesis) Imam al-Ezz ibn Adul-Salam said, “This verse was revealed about the sinners [doers of abominable acts] who used to sexually harass women.” Imam al-Baidawi also mentioned in his tafsir, “This verse was revealed about the doers of abominable actions who used to forcefully tease women.”
In this respect, the Prophet (peace and blessings be upon him) told men, “It is better that you [men] be struck on your head with a needle and bleed than to touch a woman who is unlawful to you."