Ejaculating through fantasizing in Ramadhaan

Answered according to Hanafi Fiqh by


Assalamualaikum WRWB

Dear Respected Mufti Saheb,

I had a question about ejaculation by thinking. Dear Mufti Saheb, previously in my sinful life I was very much involved in porn and masturbation. Alhamduillah I have made tawbah and I am trying my best to overcome this problem, Alhamdulillah it has gone much better.

However, sometimes these sexual desires get aroused in me at random and feel like I have to release them. I try to suppress them as much as I can, but sometimes I just cant get these sexual thoughts out of my head, so sometimes due to these sexual thoughts I ejaculate. Is this permissable?

Also sometimes when I get these sexual desires, I lie in bed, flat on my back, with my pants off, and continuously think about sexual things (to prevent myself from masturbation), I dont touch my private part or my body in any way, and due to this I ejaculate. Does doing this constitute mastrubation? If I do this in Ramadan whilst I’m fasting will this invalidate my fast, will I have to make qadha??

A quick answer would be very much appreciated

Jazakallahukhairan for everything


In the Name of Allah, the Most Gracious, the Most Merciful.
As-salāmu ‘alaykum wa-rahmatullāhi wa-barakātuh.

Brother in Islam,

We commend you on your sensitivity to overcome the evil habit of porn and masturbation.

This is a clear sign of your Iman. Your Iman is rejecting your mistake and spurred you to repent. You did so sincerely and renewed your Iman. You have acted correctly.

Fantasizing is also strictly prohibited. One should make taubah and Istighfaar for doing so.

The purpose of fasting is to discipline the nafs by containing the nafs from fulfilling its desires.

When one fantasises, he follows his nafs and feeds it with its desires. That is against the spirit of fasting. The purpose and objective of fasting is lost through fantasizing.

If one fantasizes and thereafter ejaculates, that does not invalidate the fast. Accordingly, your fast is valid. [i]

However, we advise you to make taubah and istighfaar and have a sincere intention to protect yourself in the future from such evil.


And Allah Ta’āla Knows Best


Checked and Approved by
Mufti Nabeel Valli.

Darul Iftaa Mahmudiyyah
Lusaka, Zambia


بدائع الصنائع في ترتيب الشرائع (2/ 91) [i]

وَلَوْ نَظَرَ إلَى امْرَأَةٍ وَتَفَكَّرَ فَأَنْزَلَ لَمْ يُفْطِرْهُ، وَقَالَ مَالِكٌ: إنْ تَتَابَعَ نَظَرُهُ فَطَّرَهُ لِأَنَّ التَّتَابُعَ فِي النَّظَرِ كَالْمُبَاشَرَةِ

وَلَنَا أَنَّهُ لَمْ يُوجَدْ الْجِمَاعُ لَا صُورَةً وَلَا مَعْنًى لِعَدَمِ الِاسْتِمْتَاعِ بِالنِّسَاءِ فَأَشْبَهَ الِاحْتِلَامَ بِخِلَافِ الْمُبَاشَرَةِ


الأصل للشيباني ط قطر (2/ 152)

قلت: أرأيت رجلاً نظر إلى امرأة في شهر رمضان فأنزل؟ قال: صومه تام جائز، ولا قضاء عليه إلا أن يكون مسّ المرأة فأنزل


(2/ 168)

قلت: أرأيت الصائم ينظر إلى امرأة حتى يمني أترى عليه القضاء؟ قال: لا، لأنه لم يصنع شيئاً. قلت: فإن لمس أو قبل حتى يمني؟ قال: يتم صومه ذلك اليوم، وعليه القضاء، وليست عليه كفارة، ولا يكون على المرأة قضاء إلا أن يكون منها مثل ما كان من الرجل. قلت: فإن لمس حتى يمذي؟ قال: لا قضاء عليه ولا كفارة، لأن المذي ليس بشيء


المبسوط للسرخسي (3/ 70)

(قَالَ) : وَإِذَا نَظَرَ إلَى فَرْجِ امْرَأَتِهِ فَأَنْزَلَ فَصَوْمُهُ تَامٌّ مَا لَمْ يَمَسَّهَا


(وَلَنَا) أَنَّ النَّظَرَ كَالتَّفَكُّرِ عَلَى مَعْنَى أَنَّهُ مَقْصُورٌ عَلَيْهِ غَيْرُ مُتَّصِلٍ بِهَا، وَلَوْ تَفَكَّرَ فِي جَمَالِ امْرَأَةٍ فَأَنْزَلَ لَمْ يَفْسُدْ صَوْمُهُ فَكَذَلِكَ إذَا نَظَرَ إلَى فَرْجِهَا، وَلَوْ كَانَ هَذَا مُفْسِدًا لِلصَّوْمِ لَمْ يَشْتَرِطْ فِيهِ التَّكْرَارَ كَالْمَسِّ وَتَأْوِيلُ الْحَدِيثِ الْمُؤَاخَذَةُ بِالْمَأْثَمِ إذَا تَعَمَّدَ النَّظَرَ إلَى مَا لَا يَحِلُّ


الفتاوى الهندية – ط. دار الفكر (1/ 204)

وإذا نَظَرَ إلَى امْرَأَةٍ بِشَهْوَةٍ في وَجْهِهَا أو فَرْجِهَا كَرَّرَ النَّظَرَ أَوَّلًا لَا يُفْطِرُ إذَا أَنْزَلَ كَذَا في فَتْحِ الْقَدِيرِ وَكَذَا لَا يُفْطِرُ بِالْفِكْرِ إذَا أَمْنَى هَكَذَا في السِّرَاجِ الْوَهَّاجِ


النتف في الفتاوى (1/ 158)

واما من الفرج فسبعة أشياء

أحدها الاحتلام بالنهار…….. والسابع إذا أصبح جنبا


This answer was collected from, which serves as a gateway to Darul Iftaa Mahmudiyyah – Lusaka, Zambia.

Find more answers indexed from:
Read more answers with similar topics: