حدثنا أبو حفص عمر بن جعفر المفيد البَصْري، حدثنا أبو خَلِيفة القاضي، حدثنا أبو الوليد الطَّيَالسي، حدثنا شدَّاد أبو طلحة قال: سمعت معاويةَ بن قُرَّة يحدِّث عن أنس بن مالك أنه كان يقول: مِن السُّنَّة إذا دخلتَ المسجدَ أن تبدأَ برِجْلِك اليمنى، وإذا خرجتَ أن تبدأ بِرجْلِك اليسرى (2). هذا حديث صحيح على شرط مسلم، فقد احتَجَّ بشدَّاد بن سعيد أبي طلحة الراسِبي، ولم يُخرجاه. [التعليق - من تلخيص الذهبي] ترقيم العلميه 791 - على شرط مسلم
Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates that it is the Sunnah that when you enter the mosque you put your right foot first, and when you go out you put your left foot first.
This hadith is sahih (authentic) on the condition of Imam Muslim, but the two Shaykhs did not record it.
Hadith Referenceمستدرکِ حاکم / كتاب الإمامة وصلاة الجماعة / 886
(2) إسناده حسن. Grading: (2) Its chain is "hasan". وأخرجه البيهقي 2/ 442 عن أبي عبد الله الحاكم، بهذا الإسناد. ثم قال: تفرد به شداد بن سعيد أبو طلحة الراسبي وليس بالقوي. كذا قال، وشداد هذا قد اختُلف فيه فمنهم من وثَّقه كأحمد وابن معين، ومنهم من ليَّنه، وقال الحافظ ابن حجر في "التقريب": صدوق يخطئ. Reference / Source: Al-Bayhaqi (2/442) narrated it with the chain of Abu 'Abdullah al-Hakim, then said: Shaddad bin Sa'id (Abu Talhah al-Rasibi) is alone in this narration and he is not strong. Technical note / Defect ('illah): There is disagreement about Shaddad; Imam Ahmad and Ibn Ma'in declared him trustworthy, while some called him lin (weak). Al-Hafiz Ibn Hajar said: He is truthful but makes mistakes.
Source: Al-Mustadrak ala al-Sahihayn (Takhrij & Tahqiq: Shaykh Adil Murshid et al.), Page: 886