Back to search

How can one get rid of thoughts of masturbation after quitting it, knowing that nocturnal emissions involving it are recurring?

1 min readAlso available in العربية

1. Masturbation is forbidden and has significant harms.

2. The emission of semen during sleep (nocturnal emission) entails no sin, because the sleeping person is not held accountable.

3. Not performing ghusl after nocturnal emission is a grave error, as purification from janabah is a condition for the validity of prayer, due to the Almighty's saying: "O you who have believed, do not approach prayer while you are intoxicated until you know what you are saying, nor while junub except those passing through [a mosque] until you have washed [your whole body]." [An-Nisa:43]. You should have performed ghusl after each instance, but now one ghusl will suffice for both, and you must make up the prayers that were performed without purification.

Summarized from the full answer at Ftawy · reviewed Sep 2, 2026

Read the full answer on Ftawy