The Prophet (saw) said, are you really facing that? they said ya Rasool Allah that's what we're facing, you know what He said: Prophet (pbuh) said that is clear faith, meaning what? Alhamdullilah that you deal with it the way that you deal with it, know that Allah will reward you for doing what you are doing, meaning the way that you feel, the guilt that you feel for even having that Waswasah (whisper) for even having that doubt is actually a sign of Iman in it of itself because shaytaan is always going to whisper but the fact that you're not allowing that whisper to turn itself into action is a sign of (clear faith), a sign of clear and pristine faith.
Another Hadith from Mu'adh, some people came to the Prophet (saw) and they ya Rasool Allah, we have these thoughts and we would rather die than act upon them, we hate thinking about these things, why do we keep thinking like this, why do I do these thoughts creep in, these doubts creep in and the Prophet (saw) said: ''All praise is due to Allah, who reduced the shaytaans plan to whispers, all he has is whispers and you know Hassan Al Basri (ra) said that when shaytaan gives up on leading you astray then all he is reduced to is a bunch of whispers and as long as you let it stay there and you don't allow it to penetrate your actions, don't think Allah is going to punish you for your thoughts.
The Prophet (saw) said: Allah (Subhanahu WA Ta'ala) has forgiven my Ummah for that which they say to themselves, so long as you don't speak of it or act in accordance with it, having thoughts is ok. Don't kill yourself because you're having whispers. Ubay Ibn Ka'b (ra) said that I had whispers at one time, Umar Ibn Al Khattab (ra) was said, the Prophet Muhammad (saw) said to him are you in doubt oh Ibn Al Khattab? this is normal and everyone would go through it, it's about how you deal with it and the Prophet (saw) said shaytaan would even take your positive moments and try to spoil them.
You are looking around you and you're admiring the creation of Allah and shaytaan will say who created this? and you would say Allah, shaytaan will say who created this? and you would say Allah and then shaytaan would say who created Allah? so the Prophet (saw) said at that moment seek refuge in Allah from the shaytaan. Prophet Muhammad (saw) said in another Hadith, when thoughts come to you, when the shaytaan tries to penetrate your thoughts, when he tries to lead you astray, at that moment, Say ''Amantu Billah'', I believe in Allah and you will send the shaytaan running.
All you have to do when you have those thoughts: say ''Amantu Billah'' that is clear and pristine faith, Allah will not punish you for the thoughts that you have, in fact Allah will reward you for the way that you dealt with those thoughts and that in it of itself as a sign of Imaan so remember to say ''Amantu Billah'' (I believe in Allah) when the shaytaan tries to penetrate your thoughts and do not feel bad because shaytaan is trying to lead you astray because he's given up hope in your actual being led astray and he's been reduced to that sense of whispers.
May Allah (Subhanahu WA Ta'ala) allow us to remain strong in our faith and may Allah remove the shaytaan from our thoughts and our actions our deeds and may Allah keep our imaan strong and pristine. (Ameen)