Is it permissible for one afflicted with the urge for masturbation to continue swearing oaths and making vows to abstain from it, especially if the oath is the only thing that helps him stay away from the sin, or is there another solution for his situation?
This type of vow is dislikable (makrooh), as is excessive swearing. However, if the questioner cannot abandon forbidden acts except through this means, then committing a dislikable act is better than committing a forbidden act. Marriage is advised; if he is unable, then he should fast, and he should not be alone with himself. He should also place devices that display forbidden content in a location visible to the household members, and he should associate with the righteous.
Summarized from the full answer at Ftawy · reviewed Sep 2, 2026
Read the full answer on Ftawyhttps://ftawy.com/en/questions/117704