صحيح ابن خزيمه
Sahih Ibn Khuzaymah
جماع أبواب السهو فى الصلاة
Chapters on Forgetfulness in Prayer
(425) باب ذكر الخبر المتقصى فى المصلي شك فى صلاته والأمر بالبناء على الأقل مما يشك فيه المصلي،
The chapter on the detailed report about a person doubting his prayer and the command to build on the lesser number