Narrated Abu Saeed al-Khudri: While the Messenger of Allah ﷺ was leading his Companions in prayer, he took off his sandals and laid them on his left side; so when the people saw this, they removed their sandals. When the Messenger of Allah ﷺ finished his prayer, he asked: What made you remove your sandals? The replied: We saw you remove your sandals, so we removed our sandals. The Messenger of Allah ﷺ then said: Gabriel came to me and informed me that there was filth in them. When any of you comes to the mosque, he should see; if he finds filth on his sandals, he should wipe it off and pray in them.
Hadith Referenceسنن ابي داود / كتاب الصلاة / 650
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:إسناده صحيح, مشكوة المصابيح (766)
Hadith Takhrij« تفرد بہ أبو داود، (تحفة الأشراف: 4362)، وقد أخرجہ: مسند احمد (3/20، 92)، سنن الدارمی/الصلاة 103 (1418)، (صحیح) »