Sahih al-Bukhari 7243
Narrated `Aisha:
I asked the Prophet (ﷺ) about the wall (outside the Ka`ba). "Is it regarded as part of the Ka`ba?" He 
replied, "Yes." I said, "Then why didn't the people include it in the Ka`ba?" He said, "(Because) your 
people ran short of money." I asked, "Then why is its gate so high?" He replied, ''Your people did so 
in order to admit to it whom they would and forbid whom they would. Were your people not still close 
to the period of ignorance, and were I not afraid that their hearts might deny my action, then surely I 
would include the wall in the Ka`ba and make its gate touch the ground."
حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا أَبُو الأَحْوَصِ، حَدَّثَنَا أَشْعَثُ، عَنِ الأَسْوَدِ بْنِ يَزِيدَ، عَنْ عَائِشَةَ، قَالَتْ سَأَلْتُ النَّبِيَّ صلى الله عليه وسلم عَنِ الْجَدْرِ أَمِنَ الْبَيْتِ هُوَ قَالَ ‏"‏ نَعَمْ ‏"‏‏.‏ قُلْتُ فَمَا لَهُمْ لَمْ يُدْخِلُوهُ فِي الْبَيْتِ قَالَ ‏"‏ إِنَّ قَوْمَكِ قَصَّرَتْ بِهِمُ النَّفَقَةُ ‏"‏‏.‏ قُلْتُ فَمَا شَأْنُ بَابِهِ مُرْتَفِعًا قَالَ ‏"‏ فَعَلَ ذَاكِ قَوْمُكِ، لِيُدْخِلُوا مَنْ شَاءُوا، وَيَمْنَعُوا مَنْ شَاءُوا، لَوْلاَ أَنَّ قَوْمَكِ حَدِيثٌ عَهْدُهُمْ بِالْجَاهِلِيَّةِ، فَأَخَافُ أَنْ تُنْكِرَ قُلُوبُهُمْ أَنْ أُدْخِلَ الْجَدْرَ فِي الْبَيْتِ، وَأَنْ أُلْصِقَ بَابَهُ فِي الأَرْضِ ‏"‏‏.‏