Question: If I got angry in salah, does it nullify my Islam. What is the ruling? Is it kufr
Answer: In the name of Allah, Most Compassionate, Most Merciful,
Assalam’aleykum, I pray this finds you in the best of states.
Jazakum Allah khayr for your question!
No feeling anger during the prayer does not make you a disbeliever.
Bad thoughts alone do not render a person outside of Islam. People often get bad thoughts of kufr/shirk, which is not sinful and by no means entails disbelief, as the person doesn’t actually hold those thoughts to be true. However, the devil will play tricks on the person and make him think that perhaps he willingly and intentionally held those thoughts, which he did not.
Imam Tahawi states in his primer of creed, “A servant is not considered to have left his faith except by denying that which originally caused him to enter it.” i.e., his very belief in Allah’s oneness or the resulting faith in all that is necessarily known of the religion. [Maydani, Sharh al-Tahawiyya]
And again, thoughts of such denial do not entail kufr; rather, kufr results only when the thoughts are accepted in the heart as true and transformed willingly into concrete beliefs.
Please see also these answers that will help you focus during the prayer:
And Allah knows best.
May Allah Most High grant you the best of this world and the next. Please keep us in your du’as!
[Ustadh] Sufyan Qufi