All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad,
, is His slave and Messenger.
What you did has nothing to do with disbelief at all. In fact, you standing upon realizing that it was only the third Rak’ah was the correct thing to do. The only thing you had to do was to prostrate for forgetfulness at the end of your prayer. Your prayer was correct and you did not have to redo it.
Therefore, shun these whispers and do not pay attention to them, because giving in to whispers leads a great evil.
Allah knows best.