Porn Addiction
Solution

Recovery guide

Is sexual fantasizing haram in Islam?

No blame or sin falls on a person for imagining forbidden things that come to mind uninvited, according to IslamQA, an Islamic question-and-answer site. On the kind of fantasies it was asked about, it concludes that such fantasies are makruh, meaning disliked. It stops short of saying that this kind of fantasizing is haram in Islam, meaning forbidden.

Is a sexual fantasy a sin in Islam if it comes unbidden?

Not in IslamQA’s answer. Its words are: “So if a person imagines haram things that came to his mind unbidden, there is no blame or sin on him, rather he has to ward them off as much as he can.” Unbidden here means a passing thought, one that arrives on its own without being invited.

The sentence judges the content and the person separately: the things imagined are haram, but the person is not blamed when they arrive uninvited.

One hadith, a recorded saying of the Prophet Muhammad, speaks about what passes through the heart. Islamtics, a hadith website, gives it in English as part of Sahih al-Bukhari, a collection of hadith. It reads: “Allah has accepted my invocation to forgive what whispers in the hearts of my followers, unless they put it to action or utter it.” An invocation is a prayer asking for something, and to utter something is to say it aloud. In this rendering, the line falls at acting on what whispers in the heart, or saying it.

One verse of the Quran, as Quran.com displays it in English, includes the line: “Allāh does not charge a soul except [with that within] its capacity.” Lust itself is the subject of our page on lust in the Quran.

Is it haram to dwell on a forbidden sexual fantasy on purpose?

IslamQA’s answer reports that scholars disagree. It says: “If a person dwells on haram thoughts and calls them to mind, then the jurists differed as to how to view this situation.” Jurists are scholars of Islamic law. In the case they discussed, as IslamQA frames it, a man is having intercourse with his wife. He is thinking of the charms of another woman, so that he imagines he is having intercourse with her.

“The first view is that it is haram,” IslamQA writes, “and that the one who deliberately brings haram images to mind whilst having intercourse with his wife is sinning.” For this view it quotes scholars from different schools, or traditions, of Islamic law. They are Ibn ‘Abidin, a Hanafi scholar; Ibn al-Haj, a Maliki scholar; and Ibn Muflih, a Hanbali scholar, who cites Ibn ‘Aqil. Ibn al-Haj, as IslamQA quotes him, says the matter “does not apply only to men, rather it also includes women.” IslamQA also quotes al-Nawawi on thoughts that cross a person’s mind: “But it is possible to avoid dwelling on them. Hence dwelling on them is haram.”

IslamQA then reports another view: “The second view is that it is permissible, and that there is no sin on the one who does that.” It calls this “the view of a number of later Shafi’i scholars, such as al-Subki and al-Suyuti.” A line it quotes for this view says: “All that is happening to him is that he imagines something reprehensible as something good.” Reprehensible means deserving blame. The reason IslamQA gives for this view is that “there is no resolve or determination to sin in fantasies.”

What does IslamQA conclude about sexual fantasies?

IslamQA’s answer settles on makruh. The full sentence reads: “It seems that the correct view is the view that such fantasies are makruh, even if we do not say that they are haram.” The words “It seems” present it as the site’s considered judgment rather than a certainty.

This is one site’s conclusion, not the ruling of Islam as a whole. Named answers do not all use the same words, and the next one below uses a stronger word, haraam (another spelling of haram), in reply to one question. Which answer to follow, or which scholar to ask, is each reader’s own choice. Other questions where faith and porn meet are gathered in our section on faith and porn.

Is fantasizing about someone else during sex with your spouse haram?

Muftionline.co.za, another Islamic question-and-answer site, says it is, for the case it was asked about. The question “Is it allowed for a husband to think of another man while having sex with his wife” was put to that site. It answered: “This is totally haraam in Islam.” Mufti Zakaria Makada wrote that answer, and Mufti Ebrahim Salejee checked and approved it. A mufti is a scholar who answers questions of Islamic law.

The same question opened with something wider: “Is it allowed to have sexual fantasy in Islam?” The reply is given here only against the line about a husband. The question sent to IslamQA also touches on who is imagined: “I never imagine myself with any other person at all, only people whom I do not know.” Those words are the asker’s own and form no part of IslamQA’s answer.

Is it haram to imagine romantic scenarios?

Not when what is imagined is permissible: IslamQA, answering a question about picturing married life in the future, calls imagining permissible things part of human nature. Where that same answer draws its line is set out in our page on whether daydreaming is haram.

What if sexual thoughts keep coming when you don’t want them?

IslamQA’s answer on fantasies, the one that settles on makruh, lists its own suggestions, including “Completely avoiding everything that may provoke such fantasies” and “Focusing on the present enjoyment instead of that which is absent.” It also says: “If each spouse focuses on the attractions of the other, they will not be distracted by fantasies of other things.” Other ways of approaching unwanted sexual fantasies are covered in our page on how to stop sexual fantasizing.

Constant, intrusive and unwanted sexual thoughts, the kind that push in uninvited and bring fear or doubt, are worth raising with a doctor or another health professional. That pattern is discussed further, along with Christian views on sexual thoughts, in our page on whether sexual thoughts are a sin.

Sources

  1. Is It Haram to Think Sexually? Islam Question & Answer (IslamQA). Link
  2. Sahih al-Bukhari — Hadith 2,528: Manumission of Slaves | Islamtics. Link
  3. Quran 2:286 (Quran.com, translations=20). Link
  4. Fantasizing while having relations with one's wife. Muftionline.co.za (Hanafi), hosted on islamqa.org; answered by Mufti Zakaria Makada, checked and approved by Mufti Ebrahim Salejee. Link
  5. She wants to imagine married life in the future. Islam Question & Answer (IslamQA). Link

Angus Munro

Clinical Psychologist, Sydney, Australia

Angus Munro is a clinical psychologist registered with AHPRA in Australia. He wrote the Porn Addiction Solution course.

Full profile and credentials