Question
What is the ruling on masturbation in Islam? Dr. Zakir Naik and some other scholars say that it is only disliked, not forbidden. If it is forbidden, what is the way to give it up, especially when a person has become habituated to it?
Answer by the honourable scholar Hafiz Khidr Hayat (may Allah preserve him)
The Shar’i Ruling on Masturbation
Masturbation is forbidden in Islam. Its prohibition is established by clear evidence from the Qur’an and Hadith:
In the Noble Qur’an, Allah the Exalted says:
“وَالَّذِيۡنَ هُمۡ لِفُرُوۡجِهِمۡ حٰفِظُوۡنَۙ اِلَّا عَلٰٓى اَزۡوَاجِهِمۡ اَوۡ مَا مَلَـكَتۡ اَيۡمَانُهُمۡ فَاِنَّهُمۡ غَيۡرُ مَلُوۡمِيۡنَۚ فَمَنِ ابۡتَغٰى وَرَآءَ ذٰ لِكَ فَاُولٰٓئِكَ هُمُ الۡعٰدُوۡنَ”
“And those who guard their private parts, except from their wives and those whom their right hands possess, so whoever seeks anything beyond that, it is they who are the transgressors.”
This verse is clear evidence that fulfilling one’s sexual desire in any way other than with wives and slave women is impermissible and forbidden.
In the blessed Hadith, the Prophet ﷺ said:
”يَا مَعْشَرَ الشَّبَابِ، مَنِ اسْتَطَاعَ الْبَاءَةَ فَلْيَتَزَوَّجْ، فَإِنَّهُ أَغَضُّ لِلْبَصَرِ، وَأَحْصَنُ لِلْفَرْجِ، وَمَنْ لَمْ يَسْتَطِعْ فَعَلَيْهِ بِالصَّوْمِ فَإِنَّهُ لَهُ وِجَاءٌ”
“O assembly of young men! Whoever among you is able to marry should marry, for it is a means of lowering the gaze and guarding the private parts, and whoever is not able to marry should fast, for fasting is a means of keeping desires in check.”
Why was the prohibition of masturbation not mentioned in explicit words in the hadiths?
In that era, people did not generally commit this vile act, so there was no need for a particularly severe warning against it.
The Prophet ﷺ on various occasions encouraged young men to marry or told them to fast, but he never suggested an easy and convenient way like masturbation, which is evidence that this act is impermissible.
Suggestions for Getting Rid of the Addiction to Masturbation
➊ Get married:
The most lasting and best solution is marriage. If marriage is possible, do it as soon as possible.
In our society it is necessary to remove unnecessary marriage expenses and obstacles so that sins of this kind can be avoided.
➋ Control your diet:
Avoid in your diet things that increase sexual desire.
➌ Fast:
Adopt the habit of fasting as much as possible so that the force of desires is broken.
➍ Exercise physically:
Keep yourself busy with physical exercise. Sports and physical activities keep a person occupied mentally and physically and help in controlling excessive desires.
➎ Use electronic devices with caution:
Use the computer and mobile phone in a place where other people can see you, so that the opportunity to view improper content is reduced.
➏ Maintain your connection with Allah:
Wake up early in the morning, pray Tahajjud and supplicate before Allah the Exalted. Acknowledge your weaknesses and ask Allah for help to avoid them.
➐ Consult a psychologist:
If this addiction has become severe and it is difficult to overcome through individual efforts, consult a psychologist so that he can give suitable guidance.
Summary:
In light of the evidence of the Qur’an and Hadith, masturbation is forbidden.
To get rid of it, take measures such as marriage, fasting, exercise, supplication and control over diet.
Ask Allah for help and keep up continuous effort to reform yourself.