Does Allah accept the repentance of a person afflicted with obsessive-compulsive disorder who dared to commit inappropriate acts and entertain impious thoughts concerning Allah? And will He forgive him, despite his adherence to the obligatory duties? And is there a form of disbelief after which repentance is not accepted?
There is no blame on one who falls into something unintentionally due to obsessive-compulsive disorder, based on the words of Allah Almighty: "And there is no blame upon you for that in which you have erred, but [only for] what your hearts intended," and the saying of the Prophet, peace and blessings be upon him: "My Ummah is pardoned for mistakes, forgetfulness, and what they are forced to do."
However, if the act was intentional, it is among the gravest sins. Nevertheless, Allah accepts the repentance of His servant, no matter how great their sin, in fulfillment of His words: "Say, 'O My servants who have transgressed against themselves [by sinning], do not despair of the mercy of Allah. Indeed, Allah forgives all sins. Indeed, it is He who is the Forgiving, the Merciful.'" The servant must turn to Allah Almighty and sincerely repent, so that their evil deeds may be replaced with good ones, as stated in His words: "Except for those who repent, believe and do righteous work. For them Allah will change their evil deeds into good ones. And ever is Allah Forgiving and Merciful."
The treatment for obsessive thoughts is by seeking refuge with Allah from Satan, ignoring them, engaging in the remembrance of Allah, associating with righteous people, and attending gatherings of knowledge.
Summarized from the full answer at Ftawy · reviewed Sep 2, 2026
Read the full answer on Ftawyhttps://ftawy.com/en/questions/95607