Is a person considered an infidel if they commit acts of disbelief or mockery as a result of obsessive-compulsive disorder, or if they intentionally think about such acts while not being pleased with them, or if they commit them when feeling despair and exhaustion, or if they intentionally frighten themselves to increase the obsession while not being pleased with falling into disbelief?
You must turn away from thinking about the whispers of disbelief (kufr) and strive against your soul to repel them. If the thoughts overcome you or if acts of disbelief are committed unintentionally, then there is no sin upon you, for the Prophet, peace and blessings be upon him, said: "Indeed, Allah has forgiven my Ummah for their mistakes, forgetfulness, and what they are coerced into." It is forbidden to intentionally do anything that leads to such whispers or to intentionally engage in thoughts that lead to the commission of acts of disbelief. It is advisable to present your condition to psychological specialists.
Summarized from the full answer at Ftawy · reviewed Sep 2, 2026
Read the full answer on Ftawyhttps://ftawy.com/en/questions/136852