[Machine] When Ibrahim ﷺ was commanded to build the house, Ismail and Hajar went with him. When they arrived in Makkah, Ibrahim saw a cloud-like covering over the location of the house, resembling a head. He addressed it and said, "O Ibrahim! Establish my progeny in the shade or according to my will, and do not increase or decrease it." Upon finishing the construction, Ibrahim left and left Ismail and Hajar there. This is where Allah, Almighty, says, "And [mention, O Muhammad], when We designated for Ibrahim the site of the House, [saying], "Do not associate anything with Me and purify My House for those who perform Tawaf and those who stand [in prayer] and those who bow and prostrate." (Surah Al-Hajj, 26)
لَمَّا أُمِرَ إِبْرَاهِيمُ عَلَيْهِ السَّلَامُ بِبِنَاءِ الْبَيْتِ خَرَجَ مَعَهُ إِسْمَاعِيلُ وَهَاجَرُ فَلَمَّا قَدِمَ مَكَّةَ رَأَى عَلَى رَأْسِهِ فِي مَوْضِعِ الْبَيْتِ مِثْلَ الْغَمَامَةِ فِيهِ مِثْلُ الرَّأْسِ فَكَلَّمَهُ فَقَالَ يَا إِبْرَاهِيمُ ابْنِ عَلَى ظِلِّي أَوْ عَلَى قَدْرِي وَلَا تَزِدْ وَلَا تَنْقُصْ فَلَمَّا بَنَى خَرَجَ وَخَلَّفَ إِسْمَاعِيلَ وَهَاجَرَ وَذَلِكَ حَيْثُ يَقُولُ اللَّهُ ﷻ {وَإِذْ بَوَّأْنَا لِإِبْرَاهِيمَ مَكَانَ الْبَيْتِ أَنْ لَا تُشْرِكْ بِي شَيْئًا وَطَهِّرْ بَيْتِيَ لِلطَّائِفِينَ وَالْقَائِمِينَ وَالرُّكَّعِ السُّجُودِ} [الحج 26]