I struggle with waswas unfortunately, and sometimes in prayer, I start doubting my intention, like am I praying just to pray or to get closeness to Allah? So I’ll break it and start again.

Thoughts of like:

“X will say he knows how to pray”

“His pronunciation is good”

Then I tell myself don’t show off, but the thoughts keep like coming and then at the end I’ll just like say between myself, like yeah X will say my pronunciation is good.

Does it count as showing off?

Sayyed I sound crazy, but the feeling of guilt is what’s bothering me.

Can I ignore everything that I doubt?

What if I get punished later on?

Can I not rely on the feeling of guilt? Like if I feel guilt, can I just not care? It doesn’t mean I don’t care about Allah (Swt) right?

Waswas must be addressed by a believer. The way to address it, as you have stated, is to ignore the doubt. When you get such thoughts, just say to yourself: no this is Shaytan making me doubt my intention. I am praying sincerely for Allah and I am not showing off. Then ignore the doubt and continue your prayer. If you do this several times you should overcome the Waswas Insha’Allah.

Also, when you start prayer, with your right index finer poke your left thigh and say:

بِسْمِ اللَّهِ وَ بِاللَّهِ، تَوَكَّلْتُ عَلَى اللَّهِ، أَعُوذُ بِاللَّهِ السَّمِيعِ الْعَلِيمِ مِنَ الشَّيْطَانِ الرَّجِيمِ

This is effective in removing the Waswas Insha’Allah.