The Messenger of Allah ﷺ led us in prayer one day. During the prayer, he removed his sandals and placed them to his left. When the people saw this, they too removed their sandals. After he had completed the prayer, he asked, "What made you take off your sandals?"They replied, "We saw you take off yours, so we took off ours."The Messenger of Allah ﷺ said, "Jibreel came to me and informed me that there was filth," or he said, "something offensive on them, so I took them off. When one of you comes to the mosque, let him examine his sandals. If he finds filth," or he said, "something offensive on them, let him wipe them clean and pray in them."Ubayy said, "This hadith does not specify what exactly was on the sandal."
حدثنا أبو كامل حدثنا حماد قال ثنا أبو نعامة السعدي حدثنا أبو نضرة
صلى بنا رسول الله ﷺ ذات يوم فلما كان في بعض صلاته خلع نعليه فوضعهما عن يساره فلما رأى الناس ذلك خلعوا نعالهم فلما قضى صلاته قال ما بالكم ألقيتم نعالكم قالوا رأيناك ألقيت نعليك فألقينا نعالنا فقال رسول الله ﷺ إن جبريل أتاني فأخبرني أن فيهما قذرا أو قال أذى فألقيتهما فإذا جاء أحدكم إلى المسجد فلينظر في نعليه فإن رأى فيهما قذرا أو قال أذى فليمسحهما وليصل فيهما قال أبي لم يجئ في هذا الحديث بيان ما كان في النعل