The detailed story of how the Kaaba was built by Abraham and his son Ishmael peace be upon them
Allah Almighty promised Abraham peace be upon him that He will cause for people from all around the world to come and proclaim the pilgrimage to the House (Kaaba) that he built.
The story began, when Abraham took Hagar and Ishmael to the city of Paran (Mecca), based on Allah Almighty’s commands. There was literally no life there; not even water. Allah Almighty then ordered Abraham to build the House of GOD (Kaaba) and leave Hagar and his son Ishmael there. When later Hagar and Ishmael became very thirsty after they ran out of the water they brought with them in the journey, Hagar prayed to Allah Almighty to provide water for them. Hagar then started to desperately run to search for water seven times (I believe) back and forth between the Safa and Marwa hills. Allah Almighty then caused Ishmael to rub his feet against the sand and a pool of water, the water of Zumzum came out.
This Prophecy of Allah Almighty sending people from all over the world to Mecca is fulfilled every single year in Saudi Arabia through the Muslims’ yearly pilgrimage, where one to three million Muslims come to perform the Hajj (pilgrimage).
“When the Pilgrimage was proclaimed, people came to it from every quarter, near and far, on foot and mounted. The ‘lean camel’ coming after the fatiguing journey through distant mountain roads typifies the difficulties of travel.”
As we clearly see in the Noble Verses
And (remember) when We showed Ibrahim (Abraham) the site of the (Sacred) House (the Ka’bah at Makkah) (saying): “Associate not anything (in worship) with Me, [La ilaha ill-Allah (none has the right to be worshipped but Allah Islamic Monotheism], and sanctify My House for those who circumambulate it, and those who stand up for prayer, and those who bow (submit themselves with humility and obedience to Allah), and make prostration (in prayer, etc.);”…22:26
وَإِذْ بَوَّأْنَا لِإِبْرَاهِيمَ مَكَانَ الْبَيْتِ أَن لَّا تُشْرِكْ بِي شَيْئًا وَطَهِّرْ بَيْتِيَ لِلطَّائِفِينَ وَالْقَائِمِينَ وَالرُّكَّعِ السُّجُودِ
And proclaim to mankind the Hajj (pilgrimage). They will come to you on foot and on every lean camel, they will come from every deep and distant (wide) mountain highway (to perform Hajj)….22:27
وَأَذِّن فِي النَّاسِ بِالْحَجِّ يَأْتُوكَ رِجَالًا وَعَلَىٰ كُلِّ ضَامِرٍ يَأْتِينَ مِن كُلِّ فَجٍّ عَمِيقٍ
That they may witness things that are of benefit to them (i.e. reward of Hajj in the Hereafter, and also some worldly gain from trade, etc.), and mention the Name of Allah on appointed days (i.e. 10th, 11th, 12th, and 13th day of Dhul-Hijjah), over the beast of cattle that He has provided for them (for sacrifice) (at the time of their slaughtering by saying: Bismillah, WAllahu-Akbar, Allahumma Minka wa Ilaik). Then eat thereof and feed therewith the poor who have a very hard time…22:28
لِّيَشْهَدُوا مَنَافِعَ لَهُمْ وَيَذْكُرُوا اسْمَ اللَّهِ فِي أَيَّامٍ مَّعْلُومَاتٍ عَلَىٰ مَا رَزَقَهُم مِّن بَهِيمَةِ الْأَنْعَامِ ۖ فَكُلُوا مِنْهَا وَأَطْعِمُوا الْبَائِسَ الْفَقِيرَ
Then let them complete the prescribed duties (Manasik of Hajj) for them, and perform their vows, and circumambulate the Ancient House (the Ka’bah at Makkah)….22:29
ثُمَّ لْيَقْضُوا تَفَثَهُمْ وَلْيُوفُوا نُذُورَهُمْ وَلْيَطَّوَّفُوا بِالْبَيْتِ الْعَتِيقِ
And (remember) when Ibrahim (Abraham) and (his son) Isma’il (Ishmael) were raising the foundations of the House (the Ka’bah at Makkah), (saying), “Our Lord! Accept (this service) from us. Verily! You are the All-Hearer, the All-Knower.” …(Al-Baqarah 2:127)
وَإِذْ يَرْفَعُ إِبْرَاهِيمُ الْقَوَاعِدَ مِنَ الْبَيْتِ وَإِسْمَاعِيلُ رَبَّنَا تَقَبَّلْ مِنَّا ۖ إِنَّكَ أَنتَ السَّمِيعُ الْعَلِيمُ
“Our Lord! And make us submissive unto You and of our offspring a nation submissive unto You, and show us our Manasik (all the ceremonies of pilgrimage – Hajj and ‘Umrah, etc.), and accept our repentance. Truly, You are the One Who accepts repentance, the Most Merciful. ….(Al-Baqarah 2:128)
رَبَّنَا وَاجْعَلْنَا مُسْلِمَيْنِ لَكَ وَمِن ذُرِّيَّتِنَا أُمَّةً مُّسْلِمَةً لَّكَ وَأَرِنَا مَنَاسِكَنَا وَتُبْ عَلَيْنَا ۖ إِنَّكَ أَنتَ التَّوَّابُ الرَّحِيمُ
The Prophets Ibrahim and Isma`il (peace be upon them both) were performing a good deed, yet they asked Allah to accept this good deed from them
** Prophet Muhammad forbade us from worshiping any stone! **