Wslm thank you so much for the question and apologies for the delay. just came back from Hajj. No one has the right to judge you. I don’t think the challenge in question is associated with jinns. it may be associated with OCD but that has to be verified. however, here are my humble advises:
- Try as much as you can to ignore the doubts. it’s shaitan who try to cast doubt and make it difficult for you.
- Try to pray in congregation as that may help withstand the challenge of doubt.
- Prepare for salat in advance before the salat time. try to pray few rakats before salat
- Always stay in wudhu
- Recite few verses of the Quran