Religious OCD
Pls. see this thread: https://www.quora.com/Will-God-forgive-intrusive-thoughts-bad-sexual-thoughts-for-God-I-have-been-diagnosed-with-OCD-and-I-have-repeated-bad-thoughts
Suffering is part of the plan that God has for this universe. Ibtila or test cannot take place without suffering. We have to accept this fact and work at the human level in trying to help with such problems the best we can.