[Machine] The Messenger of Allah ﷺ prayed with us one day, and during some of his prayers, he took off his shoes and placed them to his left. When the people saw that, they also took off their shoes. After he finished his prayer, he asked, "What happened? Why did you all take off your shoes?" They replied, "We saw you take off your shoes, so we took off ours." The Messenger of Allah ﷺ said, "Indeed, Gabriel came to me and informed me that there was impurity or harm in them, so I took them off. So when any of you come to the mosque, let him look at his shoes, and if he sees impurity or harm in them, let him wipe them and pray in them." My father did not mention the details of what was in the shoes in this narration.
صَلَّى بِنَا رَسُولُ اللهِ ﷺ ذَاتَ يَوْمٍ فَلَمَّا كَانَ فِي بَعْضِ صَلَاتِهِ خَلَعَ نَعْلَيْهِ فَوَضَعَهُمَا عَنْ يَسَارِهِ فَلَمَّا رَأَى النَّاسُ ذَلِكَ خَلَعُوا نِعَالَهُمْ فَلَمَّا قَضَى صَلَاتَهُ قَالَ مَا بَالُكُمْ أَلْقَيْتُمْ نِعَالَكُمْ؟ قَالُوا رَأَيْنَاكَ أَلْقَيْتَ نَعْلَيْكَ فَأَلْقَيْنَا نِعَالَنَا فَقَالَ رَسُولُ اللهِ ﷺ إِنَّ جِبْرِيلَ أَتَانِي فَأَخْبَرَنِي أَنَّ فِيهِمَا قَذَرًا أَوْ قَالَ أَذًى فَأَلْقَيْتُهُمَا فَإِذَا جَاءَ أَحَدُكُمْ إِلَى الْمَسْجِدِ فَلْيَنْظُرْ فِي نَعْلَيْهِ فَإِنْ رَأَى فِيهِمَا قَذَرًا أَوْ قَالَ أَذًى فَلْيَمْسَحْهُمَا وَلْيُصَلِّ فِيهِمَا قَالَ أَبِي لَمْ يَجِئْ فِي هَذَا الْحَدِيثِ بَيَانُ مَا كَانَ فِي النَّعْلِ