The thought is not the belief

People came to the Prophet, peace be upon him, saying they found things in themselves they could not bring themselves to say aloud. He did not warn them. He told them their horror at it was the telling detail.

The instruction given for the worst version of it is two moves long. Seek refuge, and turn away from the thought. Not settle it. Not prove it wrong. Turn away.

And the report about mistakes and forgetfulness says plainly that a person is not held to what they did not choose. An anxious thought is not a chosen thought.