Abdullah bin Abbas reported,

Then he remained away from them as long as Allah willed, and afterward he came back and found Ismail sharpening some of his arrows under a large tree near Zamzam. When Ismail saw him, he rose to meet him, and they greeted one another as a father and son do.Then Ibrahim said, "Ismail, Allah has commanded me with a task."Ismail replied, "Do what your Lord has commanded you."Ibrahim asked, "Will you help me?"Ismail answered, "I will help you."Ibrahim said, "Allah has commanded me to build a house here," and he pointed to a mound raised above the surrounding land.At that point they raised the foundations of the House. Ismail began bringing the stones while Ibrahim built. When the structure grew higher, Ismail brought this stone and placed it for him, and Ibrahim stood upon it and continued building while Ismail handed him the stones. As they worked, they were saying, "Our Lord, accept this from us. Indeed, You are the Hearing, the Knowing" [Baqarah 2:127].So they kept building, going around the House, while saying, "Our Lord, accept this from us. Indeed, You are the Hearing, the Knowing" [Baqarah 2:127].

Azami 11918

Sahih

في حديث طويل عن بناء الكعبة

عن ابن عباس قال

ثم لبث عنهم ما شاء الله، ثم جاء بعد ذلك وإسماعيل يبري نبلا له تحت دوحة قريبا من زمزم، فلما رآه قام إليه، فصنعا كما يصنع الوالد بالولد والولد بالوالد، ثم قال: يا إسماعيل، إن الله أمرني بأمر، قال: فاصنع ما أمرك ربك، قال: وتعينني؟ قال: وأعينك، قال: فإن الله أمرني أن أبني ها هنا بيتا-وأشار إلى أكمة مرتفعة على ما حولها- قال: فعند ذلك رفعا القواعد من البيت، فجعل إسماعيل يأتي بالحجارة وإبراهيم يبني، حتى إذا ارتفع البناء جاء بهذا الحجر فوضعه له، فقام عليه وهو يبني وإسماعيل يناوله الحجارة، وهما يقولان: {ربنا تقبل منا إنك أنت السميع العليم} [البقرة: ١٢٧] قال: فجعلا يبنيان حتى يدورا حول البيت وهما يقولان: {ربنا تقبل منا إنك أنت السميع العليم} [البقرة: ١٢٧].

الأعظمي 11918صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "And when We made the House a place of return for the people and a sanctuary, and take from the standing place of Ibrahim a place of prayer. And We charged Ibrahim and Ismail, purify My House for those who perform tawaf and those who stay for worship and those who bow and make sujud"
Numbering
Jami al-Kamil 11918 (2nd edition)
Azami 11918