Doubting how many rakaats one performed
Q: I was performing the Farz of Zuhr. I kinda forgot about the prayer and my mind was wandering about my result which will come in a few days. So I don't remember if I offered 4 farz or just said the salam after 2. What should I do when I have a doubt ?