[Machine] The Quraysh used to call for al-Hums (a form of idol worship) and they would enter from the doors during the pilgrimage. The Ansar and the rest of the Arabs would not enter from the doors during the pilgrimage. While the Messenger of Allah, peace be upon him, was in a garden, he came out of its door and Qutbah ibn Amir al-Ansari came out with him. They said, "O Messenger of Allah, Qutbah ibn Amir is an immoral man, and he came out with you from the door." He said, "What made you say that?" He said, "I saw you do it, so I did it as well." He said, "I am performing al-Hums." He said, "My religion is your religion." So, Allah, the Almighty and Exalted, revealed: "It is not righteousness that you enter houses from the back, but righteousness is [in] one who fears Allah." [Quran 2:189]
كَانَتْ قُرَيْشٌ يُدْعُونَ الْحُمْسَ وَكَانُوا يَدْخُلُونَ مِنَ الْأَبْوَابِ فِي الْإِحْرَامِ وَكَانَتِ الْأَنْصَارُ وَسَائِرُ الْعَرَبِ لَا يَدْخُلُونَ مِنَ الْأَبْوَابِ فِي الْإِحْرَامِ فَبَيْنَمَا رَسُولُ اللَّهِ ﷺ فِي بُسْتَانٍ فَخَرَجَ مِنْ بَابِهِ وَخَرَجَ مَعَهُ قُطْبَةُ بْنُ عَامِرٍ الْأَنْصَارِيُّ فَقَالُوا يَا رَسُولَ اللَّهِ إِنَّ قُطْبَةَ بْنَ عَامِرٍ رَجُلٌ فَاجِرٌ إِنَّهُ خَرَجَ مَعَكَ مِنَ الْبَابِ فَقَالَ «مَا حَمَلَكَ عَلَى ذَلِكَ؟» قَالَ رَأَيْتُكَ فَعَلْتَ فَفَعَلْتُ كَمَا فَعَلْتَ فَقَالَ «إِنِّي أَحْمَسِيٌّ» قَالَ «إِنَّ دِينِي دِينُكَ» فَأَنْزَلَ اللَّهُ ﷻ {لَيْسَ الْبِرُّ بِأَنْ تَأْتُوا الْبُيُوتَ مِنْ ظُهُورِهَا وَلَكِنَّ الْبِرَّ مَنِ اتَّقَى وَأْتُوا الْبُيُوتَ مِنْ أَبْوَابِهَا} [البقرة 189]