2- If a praying person forgets to perform one pillar of the pillars of prayer: if he remembers it before he reaches the same act in the following Rak'ah, then he must perform that act and then do all acts that follow it. However, if he remembers the forgotten act after reaching it in the following Rak'ah, then, in this case, he does not return to it and that Rak'ah is invalid. If he remembers it after Tasleem, he must do that very act and all prayer acts that come after it and does the prostration of forgetfulness after Tasleem (saying Salaam to conclude the prayer). If a person forgets a whole Rak'ah, for example if he says Salaam after the third Rak'ah in a four Rak'ah prayer, then he should stand up without Takbeer (saying Allaahu Akbar) but with the intention of prayer, and he prays the fourth Rak'ah and says the Tashahhud and Tasleem, and then he should prostrate two prostrations for forgetfulness., Discover how to compensate for mistakes in Salat (prayer) with our comprehensive guide. Learn about different types of errors, including forgetting pillars, adding extra Rakahs, or missing Wajib acts, and how to correct them through prostrations of forgetfulness., I used not to pray, but I have repented and started to pray again, praise be to Allah. But the problem now is that I forget and make a lot of mistakes in my prayer. I will mention some of the mistakes, and please tell me whether my prayer in this case is valid or not?.