صحيح ابن خزيمه
Sahih Ibn Khuzaymah
جماع أَبْوَابِ فَضَائِلِ الْمَسَاجِدِ وَبِنَائِهَا وَتَعْظِيمِهَا
Chapters on Virtues and Construction of Mosques
(608) بَابُ الصَّلَاةِ عِنْدَ دُخُولِ الْمَسْجِدِ قَبْلَ الْجُلُوسِ إِذْ هِيَ مِنْ حُقُوقِ الْمَسَاجِدِ
The chapter on praying upon entering the mosque before sitting, as it is a right of the mosque
Hadith Number: 1325
نا الحسين بن عيسى البسطامي ، نا محمد بن ابي فديك المدني ، عن كثير بن زيد ، عن المطلب بن حنطب ، عن ابي هريرة ، ان رسول الله صلى الله عليه وسلم، قال: " إذا دخل احدكم المسجد فلا يجلس حتى يركع ركعتين" . قال ابو بكر: هذا باب طويل خرجته في كتاب الكبير. قال ابو بكر: وهذا الامر امر فضيلة لا امر فريضة، والدليل على ذلك خبر طلحة بن عبد الله، عن النبي صلى الله عليه وسلم لما ذكر الصلوات الخمس، قال الرجل: هل علي غيرها؟ قال: لا، إلا ان تطوع، فاعلم ان ما سوى الخمس من الصلوات فتطوع لا فرض
It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "When any one of you enters the mosque, he should not sit down without offering two rak‘ahs." Imam Abu Bakr (may Allah have mercy on him) says that this is a lengthy chapter. I have explained it in Kitab al-Kabir. Imam Abu Bakr (may Allah have mercy on him) says that this command is for virtue and reward, not for obligation and compulsion. The evidence for this is the hadith of Sayyiduna Talhah bin Abdullah (may Allah be pleased with him), which he narrates from the Noble Prophet (peace and blessings be upon him): When he (peace and blessings be upon him) mentioned the obligation of the five prayers, a man asked, "Is there any prayer obligatory upon me besides these?" He (peace and blessings be upon him) replied, "No, except that you offer voluntary prayers." In this way, he (peace and blessings be upon him) clarified that besides the five daily prayers, there are voluntary prayers, not obligatory ones.
تخریج الحدیث: