What is the ruling on the fast of a thirteen-year-old child who masturbated during the day in Ramadan out of ignorance that this invalidates the fast, and what is the ruling on his prayers after three years of masturbation if he did not know that it necessitates ghusl?
The emission of semen is a sign of puberty. If it is emitted by a child, religious obligations such as prayer and fasting become incumbent upon him.
If he masturbated out of ignorance of its prohibition while fasting, some scholars lean towards his fast not being invalidated, but it is more cautious to make it up. However, if he knew of the prohibition of masturbation but was ignorant that it invalidates the fast, then his fast is invalid and he must make it up.
Prayers performed while in a state of major ritual impurity (janabah) are invalid and must be made up, due to the absence of the condition of purity from major ritual impurity. Whoever does not know their exact number should make them up until he is reasonably sure that he has absolved himself of the obligation. Sheikh Al-Islam Ibn Taymiyyah and those who agreed with him were of the opinion that redoing the prayer is not necessary if the worshipper missed a condition out of ignorance.
What was mentioned regarding the invalidation of the fast and the obligation of ghusl (ritual bath) is on the assumption that semen was emitted. If it was not emitted, then the fast is not invalidated, and ghusl is not obligatory.
If signs of puberty have not yet appeared, then religious obligations are not incumbent upon him, based on the hadith: "The pen has been lifted from three: from the sleeper until he awakens, from the child until he reaches puberty, and from the insane person until he regains his sanity." However, it is advisable to stay away from this bad habit.
Summarized from the full answer at Ftawy · reviewed Sep 2, 2026
Read the full answer on Ftawyhttps://ftawy.com/en/questions/128524