Question:
Assalamu alaikum wa rahmatullahi wa barakatuhu
Is it permissible to masturbate while fasting?
Answer:
Wa alaikum assalam wa rahmatullahi wa barakatuhu
Yes, masturbation while fasting is not permissible; rather, it breaks the fast. Let us understand this issue in the light of the Qur’an, the hadith, and the opinions of the jurists.
In the light of the Qur’an
Allah the Exalted said:
“وَٱلَّذِينَ هُمْ لِفُرُوجِهِمْ حَـٰفِظُونَ إِلَّا عَلَىٰٓ أَزْوَٰجِهِمْ أَوْ مَا مَلَكَتْ أَيْمَـٰنُهُمْ فَإِنَّهُمْ غَيْرُ مَلُومِينَ فَمَنِ ٱبْتَغَىٰ وَرَآءَ ذَٰلِكَ فَأُو۟لَـٰئِكَ هُمُ ٱلْعَادُونَ”
Translation:
“And those who guard their private parts, except from their wives and those whom their right hands possess, for then they are not blameworthy. Then whoever seeks beyond that, it is they who are the transgressors.”
This verse shows that satisfying desire in any way other than with one’s wife, including masturbation, is impermissible and a sin.
In the light of the hadith
➊ The Prophet ﷺ said:
“الصِّيَامُ جُنَّةٌ، فَإِذَا كَانَ يَوْمُ صَوْمِ أَحَدِكُمْ فَلَا يَرْفُثْ وَلَا يَجْهَلْ”
Translation:
“Fasting is a shield, so when any one of you is fasting, he should not engage in obscene speech and should not act ignorantly (do evil).”
Masturbation is an immoral and evil act, and according to the hadith, it is necessary to avoid it while fasting.
➋ The Prophet ﷺ said in another hadith:
“يَدَعُ طَعَامَهُ وَشَرَابَهُ وَشَهْوَتَهُ مِنْ أَجْلِي”
Translation:
“He (the fasting person) gives up his food, his drink, and his desire for My sake.”
This hadith proves that controlling desire while fasting is necessary, and by masturbating this control is lost, so this act breaks the fast.
The opinion of the jurists
The scholars of all the schools of jurisprudence (Hanafi, Shafi’i, Maliki, Hanbali) agree that:
If masturbation is committed while fasting and semen is discharged because of it, the fast is broken.
In this case, making up the fast (fasting later) becomes obligatory.
Expiation (fasting 60 consecutive days or feeding 60 poor people) will not be obligatory, because the sin of masturbation is not equal to that of adultery.
Conclusion
Masturbation while fasting is forbidden and a sin.
If semen is discharged because of it, the fast is broken and making it up is obligatory.
Whoever is afflicted with this sin should repent and avoid it, especially in Ramadan.
May Allah the Exalted grant us the ability to understand the sanctity of Ramadan and to control our own selves. Ameen!