Home » Hanafi Fiqh » Askimam.org » Cure for Masturbation

Cure for Masturbation

Answered as per Hanafi Fiqh by Askimam.org

I need your help! I am a student of knowedlge and have been studying for about 3 years. Alhamdulillah, I have managed to give up many sins which I committed in the past. However, there is this one sin that I keep comitting. I have countlessly made taubah, have started azkaar, read qur’an; but I always manage to go back to it. If I commit the sin, I make tawbah and do not commit it for two three weeks. Then I start again. I try to stop myself, but its like something comes over me. I dont even find any enjoyment or pleasure in it. And I always regret it, as soon as I am done. I need help. I know the punishment and I know I should stop but I do not know how to. I do not want to tell my parents or my teachers about it because i am soo ashamed of myself. I dont even feel like writing the name of the sin I comitt becuase I am so embarresed and ashamed and angry at myself. I am hopeful that, InshaAllah, you will be able to help me which is why I will write what sin I commit. The sin I keep going back to is masturbation. I know its bad, its shameful, its a major sin, but I cannot stop. Please help me. JazakAllah Khair May Allah reward you. Ameen


In the Name of Allah, the Most Gracious, the Most Merciful.

As-salāmu ‘alaykum wa-rahmatullāhi wa-barakātuh.

The guilt you have for the evil and heinous act in reference is actually taufeeq from Allah to reform and a stepping stone for reformation. You are rightfully shameful of that evil act as it is not even committed by animals as well. Allah has made you a human being and blessed you to study Ilm-Deen. Never disregard this bounty of Allah. Appreciate it and avoid that filthy act as that will deprive you of the many barakaat and blessings of Ilm-Deen.

You should examine all the causes that lead you to that filthy act and avoid all those causes. You may read Fatwa #19499.[i]

Consider the following and conscientise yourself of this whenever the evil thought comes to you. Will you do the evil act in front of your father? Will you do that evil act in front of your mother or your teacher? How can you do such an evil act while Allah is watching you? Remind yourself of the following verse all the time:

الم يعلم بان الله يري

Does he not know that Allah is watching (everything he does and will punish him for his evil)?   

[Surah Alaq : 14]

You may listen to the discourses of Qaseeda Burda by Hazrat Mufti Ebrahim Desai (Daamat Barakatuhum) which also address the issue of reformation of the Nafs.

And Allah Ta’āla Knows Best

Aboobakr Siddeeq bin Mufti Amjad Mohammad

Student Darul Iftaa 

Azaadville, JHB, South Africa

Checked and Approved by,
Mufti Ebrahim Desai.


[i] In the Name of Allah, the Most Gracious, the Most Merciful

As-salāmu ‘alaykum wa-rahmatullāhi wa-barakātuh.

You are 20 years old and in the prime of your life. These years are the ones that one should value and spend correctly because they generally define how one will spend the rest of his life. If one is able to control his desires and not give in to his passions, he will attain the sweetness of Iman and attain a high ranking in the hereafter. Rasulullah sallallahu alaihi wasallam has said:

“There are seven people to whom Allah will grant shade on the day that there is no shade besides his shade. A just ruler, a youth brought up in the worship of Allah, a man whose heart is always in the masjid…”[1]

Stopping a bad habit like masturbation is not hard. You have already done the hardest step which is admitting and accepting that it is a mistake and declaring that you want to stop it. It’s all a downhill struggle from here. The main thing is controlling ones’ eyes.

 People see multitudes of people and innumerable objects daily and the mind works in a very strange way. The cause of this is that when one is idle, it starts bringing back the things that a person has seen. Unfortunately, these things tend to be the Haram that a person has looked at during the day which causes one to get excited and do things that he shouldn’t. The best way to cure this is to keep ones gaze down and most importantly, use the internet only when one really needs to. This is because when one just browses the web aimlessly and goes onto ‘harmless’ websites such as Youtube , he will see the other pictures and videos on the side and with the a final shove from shaytān, ones desires get the better of him and before you know it this person is indulging in Haram.

One should also try and ensure that the computer/ laptop stays in a place that everyone can see. This will deter one from visiting immoral sites. It is also vital that one doesn’t buy or read any material in which he knows there are illicit, indecent and racy images or material that will lead one to other sins.

A practical thing one can do to stop this habit and any other bad habit that one may have is to make a promise to Allah the Almighty that he will not commit the sin, and for each time he does after that, he will give a certain amount of money in charity or to the local masjid… It is important that one keeps this amount realistic and even more important that one pays.

The final and most important thing is that one constantly makes dua to Allah the Almighty and constantly does the dhikr of Allah. This will keep ones’ mind occupied at all times. One should not despair if he commits the sin again. Remember! If your taubah and intention are correct, Allah will definitely give you the taufeeq (ability) to refrain from this sin.

The answers to your questions are as follows:

1.       If one gets excited but does not discharge, it will not make ghusl fardh upon the person[2]. One will not have to perform ghusl to pray salah. This act is Haram and will be regarded as masturbation as one is using his own body to fulfil his passion.

2.       If one excites himself but manages to prevent ejaculation at that moment, but ejaculates at a later time in the day, he will have to do ghusl after the ejaculation.[3] [4]

Remember! An idle mind is the devils workshop! Keep yourself busy.

And Allah Ta’āla Knows Best

Checked and Approved by,
Mufti Ebrahim Desai.

This answer was collected from Askimam.org, which is operated under the supervision of Mufti Ebrahim Desai from South Africa.

Read answers with similar topics: