Peace After Forgetfulness in Prayer

Question
In the night prayer, I pray two rak'ahs at a time; but I forgot in the second rak'ah and prayed the third and then said the salam. After the salam, it became clear to me that I had prayed three rak'ahs, so I added a rak'ah and prostrated for forgetfulness. In such a case, what should I do? Because I know that I made a mistake, I must prostrate for forgetfulness in the third rak'ah and complete two rak'ahs?
Answer
I say, and with God's help: You must perform the prostration of forgetfulness after the fourth unit of prayer, unless your chest turns away from the Qibla or you do something that contradicts the prayer, such as speaking, eating, or drinking. And God knows best.
imam icon

Send your question to the smart assistant

If the previous answers are not appropriate, please send your question to the Mufti via