You have to offer the prostration of forgetfulness before Salam. However, if you did not offer it, the salah is valid.

I have a question which is that someone forgets to say rabanna wa laka alhamd when rising from sujud, how would you make up for that after you finished your salah?

Prayer |