Whoever has doubt in his prayer should seek out what is correct, then perform two prostrations after he finishes, while sitting.
أخبرنا سويد بن نصر قال أنبأنا عبد الله عن شعبة عن الحكم قال سمعت أبا وائل يقول
من أوهم في صلاته فليتحر الصواب ثم يسجد سجدتين بعد ما يفرغ وهو جالس