ANSWER:

If he didn’t know the ruling, the prayer is valid

If anyone make a mistake in prayer that required prostrations of forgetfulness after Salam but he gives the prostrations of forgetfulness before salam – does it make his prayer invalid? & need to the repeat the prayer again?

Prayer |