The generally accepted principle of fiqh (Islamic jurisprudence) is that when it comes to enjoying sexual pleasure, everything is forbidden unless it is explicitly allowed. The Quran’s general teaching on sexuality is that Muslims should “guard their privates” except when taking pleasure in the context of a religiously sanctioned intimate relationship.
A strict interpretation of this verse is that all sexual pleasure is forbidden unless it is had with a spouse. A non-strict interpretation is that all sexual intercourse is forbidden unless it is had with a spouse, which means that masturbation is not included in the prohibition.
The Quran never mentions masturbation, so we cannot use it to reach a final judgment. As for hadith, there isn’t a single authentic narration that mentions masturbation1, therefore hadith cannot help us either in reaching a definitive judgment.
ʿAmr bin Dīnār, one of the Tabiʿīn (belonging to the generations that came after the Companions) and a hadith and fiqh scholar says, “I see no issue with masturbation.”2 Jābir bin Zayd, known by the nickname Abu l-Shaʿthā, student of the Companion Ibn ʿAbbās [ra] also says he sees no problem with it.3 Ibn ʿAbbās says that marriage is better than masturbation, and masturbation is better than fornication.4. Aḥmad ibn Ḥanbal, founder of the Ḥanbalī school of fiqh, says there is no issue with it.5
The most famous scholar to permit masturbation was al-Shawkānī (d. 1839 CE), a widely respected reformer and revivalist. While he ruled that masturbation is permitted in Islam without conditions (other scholars have said that there are conditions needed to make it permissible, but al-Shawkānī says no conditions are needed), he says:
There is no doubt that engaging in this act is a flaw (in one's character), a show of a lack of self-respect, and a show of abasement in manners and a lack of willpower.
He criticizes the act, but says there isn’t sufficient evidence to forbid it.
In the modern world, the Moroccan scholar Abdel-Bari Zamzami (d. 2016 CE) allowed masturbation for men and women, saying that since it helps one avoid illicit sexual acts, and since there is no clear evidence that it is forbidden, permitting it is more beneficial than forbidding it.
The Mālikī and Shāfiʿī schools say that masturbation is forbidden.
Making sense of the situation
What scholars have often done is try to take the vagueness out of the Islamic texts by enforcing their own interpretations, either saying masturbation is a sin, or saying that there is nothing wrong with it. Both of these approaches ignore an important teaching of the Prophet ﷺ in dealing with vagueness in religious matters, expressed in this hadith narration from Ṣaḥīḥ Muslim:
Allah's Messenger PBUH addressed us and said: O people, Allah has made Hajj obligatory for you; so perform Hajj. Thereupon a person said: Messenger of Allah, (is it to be performed) every year? He (the Holy Prophet) kept quiet, and he repeated (these words) thrice, whereupon Allah's Messenger PBUH said: If I were to say" Yes," it would become obligatory (for you to perform it every year) and you would not be able to do it. Then he said: Leave me with what I have left to you, for those who were before you were destroyed because of excessive questioning, and their opposition to their apostles. So when I command you to do anything, do it as much as it lies in your power and when I forbid you to do anything, then abandon it.6
The above narration can be considered support in favor of silence over the issue of masturbation.The Quran and the Sunnah do not explicitly prohibit it, and they do not explicitly allow it, leaving it in a gray area, therefore Muslims should neither condemn masturbation, nor should they promote it.
To a pious person who is eager to please God, the meaning of these things is as follows:
- It is not important enough to be explicitly forbidden or allowed by God and His Prophet PBUH.
- Every Muslim’s aim should be to avoid it if they can, since true love and fear of God means that a person should avoid everything that has even the slightest possibility of displeasing Him.
- If someone is overwhelmed by desire into doing it, or cannot control their impulses so that they habitually do it, they should not obsess about, they should repent and go on with their lives, knowing that what they have done is a small lapse in manners, rather than a crime.
The Issue of Corporealization
Humans have a built-in revulsion toward masturbation due to the fact that it is a corporealizing act; it places focus on the human body in its physicality; it reduces a human to a mere animal, making a human’s individuality irrelevant during the act. Masturbation has little to do with sexual intimacy between two humans who love one another and who continue to see each other as individuals (rather than mere bodies) throughout the sexual act. Masturbation is obscene, it can never be made respectable or acceptable in society. For more on this, please see my essay:
The Philosophy of Pornography and Masturbation
It would be quite wrong to assume that Islamically ruling that masturbation is not prohibited would lead to an epidemic of masturbation throughout the Islamic world. It would probably not make the slightest difference in that regard (because humans are genetically inclined to feel disgust at masturbation and other corporealizing sexual acts); it would only reduce the feelings of guilt of those who already do it.
Masturbation, teenagers and scholarly humility
Teenagers, especially teenage boys, have heightened sexual desire while also having poor impulse control, since the brain’s prefrontal cortex does not finish developing until after the age of 25. These two factors (increased sexual desire, low ability to control urges) can make it very difficult for them to avoid masturbation. Making teenagers feel bad about masturbation is a short-sighted and destructive thing. It only serves to decrease these teenagers’ religious self-esteem, making them feel as if they will never be good Muslims, since they are supposedly committing a great sin and cannot stop themselves.
The result is that these teenagers start to think of Islam as an outdated and cruel religion that is asking them to do the impossible.
The balanced approach is to tell teenagers that it is best if they avoid it since it is in a gray area, while also telling them that it is not clearly forbidden, therefore if they cannot help themselves and end up doing it, they should not obsess about it, but repent and go on with their lives.
Rather than making baseless statements about masturbation, saying it is allowed or saying it is forbidden, we must acknowledge the vagueness of the Islamic texts on this issue, while also respecting the wisdom of the scholars and human nature in their dislike for it.
Conclusion
Different stages of growth and different life circumstances affect a person’s desire for masturbation. Depression, loneliness and a lack of social interaction, for example, makes it more likely that a person will want to masturbate, and not just among humans. I have seen many articles mention that monkeys in captivity masturbate, but those who live in the wild do not.
Most of our scholars consider masturbation an undignified act that a self-respecting person would not do. While they are right about this when it comes to themselves, they should have empathy for younger people living in very different circumstances and subject to far stronger sexual desires and a lower ability to control their impulses due to the fact that their brain development is not complete. Instead of asking the impossible of young people, of having perfect control over their desires like the scholars themselves, they should treat them with kindness and forgiveness, telling them that there is a consensus among Muslims that masturbation is not a dignified thing to do, but that Islam does not clearly forbid it, and that as people age, it becomes easier to avoid it.