صحيح ابن خزيمه
Sahih Ibn Khuzaymah
جماع أبواب السهو فى الصلاة
Chapters on Forgetfulness in Prayer
(424) باب ذكر المصلي يشك فى صلاته
The chapter on a praying person doubting his prayer
Sayyiduna Abu Sa'id Khudri (may Allah be pleased with him) narrates from the Noble Prophet (peace and blessings of Allah be upon him) that he (peace be upon him) said: "When a person (the one praying) forgets and does not know how many units of prayer he has performed, then he should perform two prostrations while he is sitting (in Tashahhud)."
تخریج الحدیث: «أخرجه ابن خزيمة فى (صحيحه) برقم: 1021، وأخرجه أبو داود: برقم: 1021، وأخرجه الترمذي: 396،وابن ماجه فى (سننه) برقم: 1204»