Ali
1
Aslam u alaikum
I have memory issues
I was praying zuhr I did first sajda prostration and sat in middle and said allahummaghfirli.
Then I did second sajda and after getting up I forgot if I had done first sajda or not so I decided to do one more sujood as I am in sitting position i said allahummaghfirli again and I'm about to do 3rd sujood.
After saying allahummaghfirli I remembered I've already said allahummaghfirli already that means I have done 2 sujood.
So now I'm clear my 2 sujood are done but now I'm stuck I don't know if I should get up or continue the 3rd sujood so I did third sujood and did sajda sahw sujood of forgetfulness at the end of salah
Is my prayer valid.