Saying Allahu akbar instead of salaam in salaah
Q:
1. If in namaz, just before saying salaam, either my head is on the right side or left side, if I unintentionally say Allahu akbar and then say salaam, is my namaz valid?
2. If I need to do sajda-e-sahw in this situation, how do I do it? I have alraedy recited attahiyyat, durood and dua and then before salaam I unintentionaly did this.