Originally Posted by mezzi_sohal
Assalaamo alaikum wa rahmatullahi wa barskaatuh.
This is from a special satan that disturbs during prayer. This is not shirk but is a very hard test. If you become upset about it and try to repent to Allah again and again, insha-Allah your reward will increase in the hereafter and in this world you will become stronger in Tawheed insha-Allah. This is because you are trying and struggling hard to remain strong on Tawheed. But be careful, and don't start thinking with the thought, try to turn your attention to Allah repeatedly. Allah is the Most Merciful and Forgiving.
But one thing is very important. That is we should never depend upon our power, we are nothing. We must always turn to Allah for protection from Satan and trust Allah. We must always pray to Allah to give us Husni-Khaatmah (good end) so that we die in a good state of eemaan and aa'maal saalih, aameen.