Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:9208Abū Bakr b. Fūrak > ʿAbdullāh b. Jaʿfar > Yūnus b. Ḥabīb > Abū Dāwud > Ḥammād b. Salamah And Qays Wasalām > Simāk b. Ḥarb > Khālid b. ʿArʿarah > ʿAlī > Lammā

[Machine] That the house was demolished after they took out its daughter. Quraysh argued about who should place the stone, and they agreed that the first person to enter through this door should do it. The Messenger of Allah ﷺ entered through the door of Bani Shaybah and ordered for a cloth to be placed in the middle and instructed each tribe to hold onto a part of the cloth and lift it. The Messenger of Allah ﷺ took the stone and placed it.  

البيهقي:٩٢٠٨أَخْبَرَنَا أَبُو بَكْرِ بْنُ فُورَكٍ أنبأ عَبْدُ اللهِ بْنُ جَعْفَرٍ ثنا يُونُسُ بْنُ حَبِيبٍ ثنا أَبُو دَاوُدَ ثنا حَمَّادُ بْنُ سَلَمَةَ وَقَيْسٌ وَسَلَامٌ كُلُّهُمْ عَنْ سِمَاكِ بْنِ حَرْبٍ عَنْ خَالِدِ بْنِ عَرْعَرَةَ عَنْ عَلِيٍّ ؓ قَالَ لَمَّا

أَنْ هُدِمَ الْبَيْتُ بَعْدَ جُرْهُمٍ بِنَتْهُ قُرَيْشٌ فَلَمَّا أَرَادُوا وَضْعَ الْحَجَرِ تَشَاجَرُوا مَنْ يَضَعُهُ فَاتَّفَقُوا أَنْ يَضَعَهُ أَوَّلُ مَنْ يَدْخُلُ مِنْ هَذَا الْبَابِ فَدَخَلَ رَسُولُ اللهِ ﷺ مِنْ بَابِ بَنِي شَيْبَةَ فَأَمَرَ بِثَوْبٍ فَوَضَعَ الْحَجَرَ فِي وَسَطِهِ وَأَمَرَ كُلَّ فَخِذٍ أَنْ يَأْخُذَ بِطَائِفَةٍ مِنَ الثَّوْبِ فَيَرْفَعُوهُ وَأَخَذَهُ رَسُولُ اللهِ ﷺ فَوَضَعَهُ  


See similar narrations below:

Collected by Suyūṭī
suyuti:4-389bʿLy
Request/Fix translation

  

السيوطي:٤-٣٨٩b

"عن علي قال: انْهَدَمَ الْبَيْتُ بَعْدَ جُرْهُمٍ فَبَنَتْهُ قُرَيْشٌ، فَلَمَّا أَرَادُوا وَضْعَ الْحَجرِ تَشَاجَرُوا مَنْ يَضَعُهُ؟ فَاتَّفَقُوا أَنْ يَضَعَهُ أَوَّلُ مَنْ يَدْخُلُ مِنْ هَذَا الْبَابِ، فَدَخَلَ رَسُولُ الله ﷺ مِنْ بَابِ بَنِي شَيْبَة، فَأَمَرَ بِثَوْبٍ فَوُضِعَ فَأَخَذَ الْحَجَرَ فَوَضَعَهُ فِي وَسطِهِ، وَأَمَرَ كُلَّ فَخِذٍ أَنْ يَأخُذُوا بِطَائفَةٍ مِنَ الثَّوْبِ فَيَرْفَعُوُه، وَأخَذَهُ رَسولُ الله ﷺ فَوَضَعَهُ".  

والدورقي، [ق] البيهقى في السنن