Someone asked this question: “As-salamu `alaykum. Do I need to have ghusl after masturbation?”
You must perform ghusl after masturbation. This is because the Prophet (peace be upon him) said, “What requires water (ghusl) is if you see water (i.e., semen) coming out of you.” (Muslim)
Masturbation is not permissible because it is not the normal way of fulfilling sexual desire. It is a deviation and that is enough to condemn it even though this act does not fall under the category of absolute prohibition like adultery (zina).
Sunna Files Free Newsletter - اشترك في جريدتنا المجانية
Stay updated with our latest reports, news, designs, and more by subscribing to our newsletter! Delivered straight to your inbox twice a month, our newsletter keeps you in the loop with the most important updates from our website
However, the law of necessity, which is one of the principles of the Shariah, should also be applied here. For example, if someone is afraid that he would commit a greater sin like adultery or he would be harmed by some psychological disorders, then the ban on masturbation would be relaxed just to remove the hardship, based on the Shariah principle stating, “necessity is judged according to the circumstances that warrant it.”
As for your question, you must perform ghusl after masturbation because the Prophet (PBUH) said; “What requires water (ghusl) is if you see water (i.e., semen) coming out of you.” (Muslim)