Question 034: I used to masturbate, for the past few years, without knowing it was haram and that it voids the prayers and the fasts. I didn’t take the ghusl (ritual bath) and was fasting and praying in this impure state. Today I understand my mistake, but I don’t remember how many times I did it, nor how many fast/prayers it concerns. I’m 14 years old, and I don’t know which rules apply to me in order to pay the Qadha, as I didn’t know it was haram. I think I’ve missed at least three months of fasts. What’s the rule for someone who ignored that masturbation was illicit? I follow Ayatullah Khamenei.
Answer 034: Undoubtedly, one must make qada, as all the fasting and prayers have been done in the state of Janabat, according to Ayatollah Khomeini, Bahjat, Tabrizi, Khamenei, Makarem, Vahid and Sobhani. If he\she knew that, his\her prayer and fasting in this state is regarded as invalid. What should one do if the one didn’t know the rule concerning this issue nor knew that performing ghusl is required for doing such acts?
Remember, to act based on your own marja’ ruling. Here are some of the answers of our contemporary scholars concerning this issue, as follows:
According to Imam Khomeini (May his soul rest in peace), who had replied to the question: What is the ruling on a woman who ignorantly didn’t know the rules concerning womens ihtilam and then she has done her worships without ghusl? He replied as follows: If they weren’t sure that they have become polluted, (jonob) there would be no need to compensate those prayers that have been offered in that state, however in any case, her fasting were considered as valid.
According to Ayatollah Khamenei, one must make qada for those of her prayers that have been offered in the state of janabat, but her fasting is considered as valid and doesn’t need to compensate it if she didn’t know the rules concerning the janabat itself.
According to Ayatollah Bahjat, one who doesn’t know that janabat ghusl is obligatory, his\her prayers that have been offered in that state are void and must compensate them.
Ayatollah Makarem has said, as long as the woman has performed hayd ghusl (as it is sufficient by which she doesn’t need to perform janabat ghusl), those of her prayers and fasting that have been done after the ghusl, are treated as valid. Those prayers that have been offered before performing ghusl and in the state of janabat are void and must be compensated. One who has become polluted by doing haram act is able to perform his\her ghusl by hot water.
According to Ayatollah Sistani, Safi Golpayegani and Fazel (ha): if you didn’t neglect learning Islamic laws your fasts have been done in this state would be in order, but you must perform Ghusl and fulfill the qaza of your prayers.
Ayatollah Noori, Your fast is in order, but you have to qadha all your prayers offered in the state of Janabat.
Note: Self-satisfaction which is referred to as masturbation or Istimna’ is a major sin and haram and has a heavy punishment.
In the Holy Quran Allah (SWT) says: “Say [that Allah declares,] ” O My servants who have committed excesses against their own souls, do not despair of the mercy of Allah. Indeed Allah will forgive all sins. Indeed He is the All-forgiving, the All-merciful.”
 . Ayatollah Tabrizi, Serat al-Najat, Vol. 1, Q 107; Minhaj al-Salehin, Vol. 1, after rule 1004; Ayatollah Wahid, Minhaj al-Salehin, Vol. 2, after rule 1004; Sitiftaat, Vol. 1, Fasting, Q 31, Ayatollah Khamenei, Q 194.
 . Ayatollah Sistani, Minhaj al-Salehin, Vol, after rule 1004; Ayatollah Fazel, Jame al-Masael, Vol. 1, Q 558.
 . Ayatollah Noori, Istiftaat, Vol. 2, Q 96.
 . Surah al-Zumar, verse 53.