Sahih al-Bukhari #3830 · Merits of the Helpers in Madinah (Ansaar)

Sahih al-Bukhari'Amr bin Dinar and 'Ubaidullah bin Abi Yazid
Sahih al-Bukhari · Book 63 · Merits of the Helpers in Madinah (Ansaar)
Sahih al-Bukhari · كتاب 63 · كتاب مناقب الأنصار
In the lifetime of the Prophet (ﷺ) there was no wall around the Ka'ba and the people used to pray around the Ka'ba till 'Umar became the Caliph and he built the wall around it. 'Ubaidullah further said, "Its wall was low, so Ibn Az-Zubair built it
حَدَّثَنَا أَبُو النُّعْمَانِ، حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ عَمْرِو بْنِ دِينَارٍ، وَعُبَيْدِ اللَّهِ بْنِ أَبِي يَزِيدَ، قَالاَ لَمْ يَكُنْ عَلَى عَهْدِ النَّبِيِّ صلى الله عليه وسلم حَوْلَ الْبَيْتِ حَائِطٌ، كَانُوا يُصَلُّونَ حَوْلَ الْبَيْتِ، حَتَّى كَانَ عُمَرُ، فَبَنَى حَوْلَهُ حَائِطًا ـ قَالَ عُبَيْدُ اللَّهِ ـ جَدْرُهُ قَصِيرٌ، فَبَنَاهُ ابْنُ الزُّبَيْرِ‏.‏
Reference : Sahih al-Bukhari 3830In-book reference : Book 63, Hadith 55