Question:
I prayed Isha five rakahs (dont know if its 5 or 4 but I really feel like its 5) because of this I made sujood of forgetfulness after making salam but I didnt make salam after this sujood (I donít know that I have to make tasleem after forgetfulness sujood). So is my prayer valid?

Answer:
If you realized that you are in the 5th, you must immediately sit for
tashahud without continuing the 5th. You must offer Salam after the two
forgetfulness sujood. However, due to your ignorance, your prayer is
valid.


Please visit here for detailed fatwa information directly from highly respected scholar