In the rigorous performance of the fast (al-Ṣawm), a believer is summoned not merely to endure hunger and thirst but to exert profound discipline over their base desires. The spiritual essence of fasting lies in al-Imsāk—a mechanism of comprehensive self-restraint from everything that invalidates the fast, extending from the precise moment of dawn until sunset.
In the contemporary era, numerous significant queries arise concerning the precise boundaries of physical interaction that do not culminate in intercourse (jimāʿ) yet potentially nullify the fast. One of the most frequently asked discussions pertains to the legal ruling on masturbation while fasting, known in jurisprudential terminology as istimnā’.
Does this specific activity carry the same legal consequences as intercourse? What is the ruling if it occurs as a direct result of interaction with one’s lawful spouse? To address these complex juridical issues scientifically and authentically, we shall reference the detailed explanation found within the esteemed text Asnā al-Maṭālib: Syarḥ Rauḍ aṭ-Ṭālib (Vol. 1, p. 414), a monumental work by the illustrious Shaykh al-Islām Zakariyyā al-Anṣārī. This analysis aims to present the Shari’ah matter objectively to ensure the ultimate validity of our worship.
The Definition and Essence of Istimnā’ in Fiqh
Prior to delving into the specific ruling, it is imperative to comprehend the precise operational definition of the term under discussion. In the precise terminology of Islamic jurisprudence, as elucidated within the text Asnā al-Maṭālib, Istimnā’ is strictly defined as the deliberate attempt to cause the emission of semen (inzāl) without the process of physical intercourse (jimāʿ).
The classical text further details that such an action encompasses two primary methods:
- A Method that is Haram Intrinsicly: For instance, an individual endeavoring to emit semen utilizing their own hand (bi yadihi).
- A Method that is Not Haram Intrinsicly: For instance, the attempt to emit semen with the deliberate assistance of the spouse’s hand (bi yadi zaujatihi).
This second point frequently becomes a significant gray area for the layperson. Although amorous play with one’s spouse is fundamentally permissible outside the designated fasting hours, if such activities are pursued during the daylight hours of Ramadan with the specific intent or the direct consequence of semenic emission, then the overall legal status changes dramatically. This understanding is foundational to grasping what the true meaning of fasting is.
The Specific Ruling on Masturbation (Istimnā’) During Ramadan Daylight Hours
Based upon the authoritative reference of Asnā al-Maṭālib, the distinguished jurists (fuqahā) have established a decisive ruling regarding this activity. Engaging in istimnā’ or masturbation during the daylight hours of the month of Ramadan is a definitive action that invalidates the fast, contingent upon the simultaneous fulfillment of two primary essential elements.
The two conditional elements required for nullification are:
- The Presence of Deliberate Intent (ʿAmdan): The perpetrator must perform the activity consciously and intentionally, rather than due to forgetfulness or coercion.
- The Occurrence of Ejaculation (Inzāl): The activity must actually result in the definitive emission of seminal fluid.
If an individual undertakes attempts to stimulate themselves but does not reach the point of emitting semen, then their fast remains technically valid according to strict jurisprudential law. Nevertheless, they have committed an action that is extremely disliked (makrūh) or even forbidden (ḥarām), depending upon the exact method utilized, which can significantly diminish the spiritual reward of the fast. However, if semen is emitted due to that deliberate action, then their fast is nullified immediately. For more comprehensive insights into maintaining fasting discipline, learn about the various things that can invalidate your fast.
Here is the original Arabic text from Asnā al-Maṭālib, which serves as the juridical foundation for this ruling:
قوله: (والاستمناء) وهو إخراج المني بغير جماع محرما كان كإخراجه بيده أو غير محرم كإخراجه بيد زوجته…
(And [the fast is nullified] because of istimnā’), which is emitting semen without intercourse, whether in a prohibited manner such as emitting it with his own hand, or a non-prohibited manner such as emitting it with his wife’s hand…”
Expansion of Meaning: Physical Touch and Kissing as Triggers

The pedagogical study of jurisprudence within Asnā al-Maṭālib does not merely stop at direct manual activity. Shaykh Zakariyyā al-Anṣārī proactively expands the scope of the discussion to encompass other physical activities that serve as definite triggers (wasīlah) for semenic emission.
This discussion is highly relevant for married couples regarding the precise limits of physical touch while fasting. Even without the specific intention of performing masturbation, intense physical interaction can culminate in inzāl. The text firmly asserts that the emission of semen caused by direct physical contact (mubāsyarah) or kissing also invalidates the fast.
… قوله: (ولو بلمس وقبلة) بلا حائل
“… (even if [the emission of semen is caused] by touching and kissing) without a barrier.”
From the authoritative text quoted above, we can derive several crucial juridical points regarding intimacy:
1. Mubasyarah (Skin-to-Skin Contact)
Mubāsyarah refers specifically to the direct meeting of skin with skin between a male and female without the presence of any intervening cloth barrier (ḥā’il). If a husband embraces or touches his wife directly accompanied by desire (syahwat), and consequently, as a result of that touch, he emits semen, then his fast is nullified. This is because direct touch accompanied by desire is regarded as a powerful trigger for the occurrence of inzāl.
2. Qublah (Kissing)
Similarly, regarding kissing (qublah). If that kiss is performed with full desire (passion) and results in the emission of semen, then the ruling is identical: it nullifies the fast. This serves as a critical warning for us to undertake preventative measures (sadd al-dharī‘ah) in interacting with one’s spouse during the daylight hours of Ramadan to safeguard the sanctity of our worship. It highlights the importance of spiritual focus. Read the study on the ruling of marital relations after dawn for further jurisprudential context.
The Spiritual Perspective of Tasawuf: Safeguarding Inner Conduct

As a vital complement to the study of outward jurisprudence, the profound perspective of tasawuf (spirituality) teaches us to meticulously safeguard our inner conduct. Fasting is not merely a mechanism for fulfilling a legal obligation, but it is a supreme means of attaining the lofty station (maqām) of taqwā (God-consciousness). This holistic approach integrates physical compliance with spiritual purity. Learn more about the essence of tasawuf to deepen your spiritual understanding.
FAQ: Frequently Asked Questions Regarding Istimnā’ and Touching While Fasting
Here are several questions that frequently arise pertaining to this important topic, answered based upon the strict principles discussed above:
If an individual performs masturbation but does not reach the point of emitting semen, is their fast invalidated?
Technically, according to strict jurisprudential law, their fast is not nullified because the crucial condition of inzāl (emission of semen) has not been fulfilled. However, they have committed an action that potentially eliminates or significantly diminishes the spiritual reward (quality) of the fast. Therefore, learn how to determine the exact time for the dawn prayer to optimize your devotional schedule.
Does a wet dream (iḥtilām) during the daylight hours invalidate the fast?
It does not invalidate the fast. A wet dream occurs entirely outside of human control and deliberate intent. This is fundamentally different from istimnā’, which is performed consciously and intentionally.
Is it permissible for a husband and wife to embrace during the daylight hours if they are fully clothed?
If they are wearing full clothing (there is an intervening barrier/ḥā’il), and they are absolutely certain they are safe from semenic emission or falling into intercourse, then the legal ruling is permissible but highly disliked (makrūh) and ideally should be avoided. However, if they embrace without a cloth barrier and semen is emitted due to desire, then the fast is invalidated. This is a crucial concept within the four sources of Islamic law.
Does kissing one’s wife on the forehead as a sign of pure affection (without desire) invalidate the fast?
If that kiss is purely affectionate, entirely unaccompanied by desire, and the person is absolutely certain that semenic emission will not occur, then the ruling is permissible (mubāḥ) and does not invalidate the fast. The problematic issue arises only with a kiss accompanied by desire and resulting in inzāl.
Conclusion
Based upon a pedantic analysis of the esteemed text Asnā al-Maṭālib, the specific legal ruling on masturbation while fasting during the daylight hours of the month of Ramadan is that it nullifies the fast if it is performed deliberately and results in the definitive emission of semen.
This stringent ruling also applies directly to semenic emission caused by direct physical contact or kissing accompanied by desire. Consequently, a believer is demanded to maintain constant vigilance and strictly safeguard themselves from all triggers of desire to ensure the ultimate perfection of their fast before Allah ﷻ.
Reference
Zakariyā al-Anṣārī, Asnā al-Maṭālib: Syarḥ Rauḍ aṭ-Ṭālib, accompanied by the Ḥāsyiyah of Abū al-‘Abbās Aḥmad al-Ramlī, edited and authenticated by Muḥammad Muḥammad Tāmīr (Beirut: Dār al-Kutub al-‘Ilmiyyah, 1st ed., 1422 H/2001 M), Vol. 1, p. 414.
