Is Masturbation Haram in Islam? Hanafi Ruling
Answered by Mufti Naved Akhtar ·
Question
Is masturbation haram in Islam according to the Hanafi school? I have also heard that it may be permitted if a person fears falling into zina. What is the correct Hanafi ruling?
Response
In the Hanafi school, masturbation by oneself for the purpose of sexual gratification is impermissible and sinful. Classical Hanafi jurists have expressed its ruling with the terms haram as well as makruh tahrimi. Thus, it should not be understood as something merely discouraged or better avoided; rather, abstaining from it is necessary.
One of the principal proofs cited by the Hanafi jurists is the statement of Allah Ta‘ala:
وَالَّذِينَ هُمْ لِفُرُوجِهِمْ حَافِظُونَ إِلَّا عَلَىٰ أَزْوَاجِهِمْ أَوْ مَا مَلَكَتْ أَيْمَانُهُمْ فَإِنَّهُمْ غَيْرُ مَلُومِينَ فَمَنِ ابْتَغَىٰ وَرَاءَ ذَٰلِكَ فَأُولَٰئِكَ هُمُ الْعَادُونَ
“And those who guard their private parts, except from their spouses or those whom their right hands possess, for then they are free from blame. But whoever seeks beyond that, then those are the transgressors.”
(Surah al-Mu’minun 23:5–7)
Imam al-Zayla‘i explicitly cites these verses and explains that lawful sexual gratification has been confined to the avenues permitted by the Shari‘ah; he therefore states that gratification by one’s own hand is prohibited.
The basic Hanafi ruling as mentioned is that masturbation is impermissible. The limited exception mentioned by the jurists is tied specifically to a genuine and immediate fear of falling into zina, where a person has no lawful means available and this becomes a means of avoiding the greater sin.
However, merely invoking the fear of zina as a justification for masturbation does not make it a genuine case of necessity. The exception mentioned by the jurists applies only where there is a real and strong likelihood of falling into zina. It should not be used as a convenient pretext to permit what is otherwise impermissible.
As such, this cannot be turned into a general licence for ordinary desire, being unmarried, or finding self-restraint difficult. In particular, the widespread habit of masturbation among young people today often connected with pornography and repeated sexual stimulation is itself spiritually and morally destructive, apart from being sinful. Such a habit does not fall under the exceptional case mentioned by the jurists.
Thus, unless there is a real danger of falling into zina, the normal ruling remains prohibition. A person should instead avoid the causes that inflame desire, exercise restraint, fast, and seek a lawful avenue through marriage.
And Allah Ta'ala knows best
Tabyin al-Haqa’iq Sharh Kanz al-Daqa’iq, 1/323 - Imam Fakhr al-Din al-Zayla‘i
وَلَا يَحِلُّ لَهُ إِنْ قَصَدَ بِهِ قَضَاءَ الشَّهْوَةِ لِقَوْلِهِ تَعَالَى: ﴿وَالَّذِينَ هُمْ لِفُرُوجِهِمْ حَافِظُونَ﴾ ... ﴿فَمَنِ ابْتَغَى وَرَاءَ ذَلِكَ فَأُولَئِكَ هُمُ الْعَادُونَ﴾ ... فَلَمْ يُبَحْ الِاسْتِمْتَاعُ إِلَّا بِهِمَا فَيَحْرُمُ الِاسْتِمْتَاعُ بِالْكَفِّ ... وَإِنْ قَصَدَ بِهِ تَسْكِينَ مَا بِهِ مِنْ الشَّهْوَةِ يُرْجَى أَنْ لَا يَكُونَ عَلَيْهِ وَبَالٌ
.Radd al-Muhtar ‘ala al-Durr al-Mukhtar, 2/399 - Ibn ‘Abidin
وَكَذَا الِاسْتِمْنَاءُ بِالْكَفِّ وَإِنْ كُرِهَ تَحْرِيمًا ... وَلَوْ خَافَ الزِّنَى يُرْجَى أَنْ لَا وَبَالَ عَلَيْهِ.
(قَوْلُهُ: وَلَوْ خَافَ الزِّنَى إلَخْ) الظَّاهِرُ أَنَّهُ غَيْرُ قَيْدٍ بَلْ لَوْ تَعَيَّنَ الْخَلَاصُ مِنْ الزِّنَى بِهِ وَجَبَ؛ لِأَنَّهُ أَخَفُّ ... وَأَمَّا إذَا فَعَلَهُ لِاسْتِجْلَابِ الشَّهْوَةِ فَهُوَ آثِمٌ
.Al-Fatawa al-Hindiyyah, 2/170
الِاسْتِمْنَاءُ حَرَامٌ، وَفِيهِ التَّعْزِيرُ.
More questions
- Performing Sajdah on a Train Seat: The Hanafi Ruling and Exceptions in Cases of Necessity
- Breaking the Fast Through Masturbation: Qada, Kaffarah and Repentance
- Islamic Ruling on Downloading Copyrighted PDF Books and Paywalled Research Papers
- Is my situation "Kufu" and valid for marriage without wali?
- شوہر اور بیوی کا ایک دوسرے کی زکوٰۃ اپنے والدین کو دینا
- Is playing chess halal?
- What is the juristic ruling on cauterization?
- Is Freelance Video Editing Halal in Islam? Ruling on Unveiled Women, Music and Promoting Haram Businesses
- AI Se Insaan Aur Jaanwaron Ki Tasweerein Banana Kaisa Hai? Kya Taleemi Maqaasid Ke Liye Jaiz Hai?
- Collective Dua (Ijtimai Dua) After Every Fard Salah/Namaz: Is Group Dua Sunnah or Bid‘ah?
- Can a Woman Recite the Qur’an During Her Period for Dua, Dhikr, Hifz or Teaching?
- Can a Menstruating Woman Enter the Compound of Masjid al-Aqsa?