الحج was first أُسس by Prophet Ibrahim (Abraham) when Allah commanded him to build the الكعبة in مكة and call humanity to الحج. The rites were later restored by Prophet Muhammad (صلى الله عليه وسلم) during his farewell الحج in 632 CE, forming the basis of the الحج Muslims perform today.
The تاريخ of الحج begins with Prophet Ibrahim (Abraham), صلى الله عليه وسلم, who is regarded as the father of monotheism in Islam, Christianity, and Judaism. According to Islamic tradition, Allah commanded Ibrahim to leave his wife Hajar (Hagar) and infant son Ismail (Ishmael) in the barren valley of مكة. It was here that the miraculous spring of زمزم burst forth to save them from thirst. Years later, Allah instructed Ibrahim and Ismail to build the الكعبة as the first house of worship dedicated solely to the One God. The القرآن records this in Surah Al-Baqarah (2:127): 'And when Ibrahim and Ismail were raising the foundations of the House, [saying], Our Lord, accept [this] from us. Indeed, You are the Hearing, the Knowing.' After completing the construction, Allah commanded Ibrahim to proclaim the الحج to all of humanity: 'And proclaim to the people the الحج; they will come to you on foot and on every lean camel; they will come from every distant pass' (القرآن 22:27). This divine proclamation أُسس الحج as a universal act of worship that has continued for thousands of years.
In the centuries following Ibrahim's era, the pure monotheistic practices of الحج became corrupted as the people of the Arabian Peninsula gradually fell into idolatry. By the time of Prophet Muhammad (صلى الله عليه وسلم), the الكعبة housed 360 idols, and the rituals of الحج had been mixed with pagan customs, including naked circumambulation and the clapping of hands instead of الصلاة. The Quraysh tribe, as custodians of the الكعبة, controlled the الحج and profited enormously from the annual influx of الحجاج from across Arabia. When Prophet Muhammad conquered مكة in 630 CE (8 AH), he cleansed the الكعبة of all idols and restored the monotheistic worship of Allah. The following year, he sent Abu Bakr to lead the الحج and announced that no polytheist would be allowed to perform الحج thereafter. In 632 CE (10 AH), Prophet Muhammad performed his only الحج, known as Hajjat al-Wada (the Farewell Pilgrimage), which أُسس the definitive rituals that Muslims follow to this day. During this الحج, he delivered his famous Farewell Sermon at عرفة, addressing over 100,000 companions on matters of equality, justice, and the completion of the religion of Islam.
After النبي's passing, the Rightly Guided Caliphs maintained the الحج and ensured safe passage for الحجاج. Under Umar ibn al-Khattab, the Mataf (circumambulation area) around the الكعبة was expanded for the first time by purchasing and demolishing surrounding houses. The Umayyad and Abbasid caliphates further developed the infrastructure of مكة and المدينة, building roads, wells, and rest stations along major الحج routes from Iraq, Syria, Egypt, and Yemen. The Ottoman Empire, which controlled the Hijaz from 1517 to 1916, invested heavily in the الحج infrastructure. Sultan Suleiman the Magnificent rebuilt the الكعبة's walls and renovated the المسجد الحرام. The Ottomans أُسس the famous Surre Alayi, an elaborate annual caravan from Istanbul carrying gifts, provisions, and the Kiswa (the cloth covering of the الكعبة) to مكة. They also built the Hejaz Railway in 1908, connecting Damascus to المدينة, which dramatically reduced the journey time for الحجاج from the Levant and Turkey. Throughout these centuries, الحج remained a perilous journey; many الحجاج died from disease, bandits, extreme الحرارة, and deالترطيب along the way. The الحج could take months or even years of travel.
The modern transformation of الحج began when the Kingdom of المملكة العربية السعودية was founded in 1932. King Abdulaziz ibn Saud initiated the first major expansion of the المسجد الحرام in 1955, increasing its capacity from 50,000 to 400,000 worshippers. King Fahd's expansion in the 1980s and 1990s added air-conditioned الصلاة halls, escalators, and the now-iconic minarets, bringing capacity to over 800,000. The most ambitious project began under King Abdullah in 2011 and continues today: the Third Saudi Expansion aims to accommodate over 2.2 million worshippers simultaneously in the المسجد الحرام. This includes the massive Mataf expansion, new multi-story structures, advanced crowd-management systems, and the الجمرات Bridge complex in منى, which replaced the old ground-level stoning area and dramatically reduced the deadly stampedes that had plagued earlier years. The Haramain High-Speed Railway, opened in 2018, now connects مكة, المدينة, and Jeddah, allowing الحجاج to travel between the holy cities in approximately two hours. Modern الحج management also involves sophisticated logistics: tent cities in منى with fire-resistant structures, mist-cooling systems throughout the holy sites, thousands of medical stations, and an extensive security apparatus. The annual الحاج count has grown from around 50,000 in the 1930s to over 2.5 million in recent years.
The 21st century has brought both unprecedented challenges and innovations to the الحج. The COVID-19 pandemic in 2020 led to the most restricted الحج in modern تاريخ, with only 1,000 الحجاج permitted — a stark contrast to the 2.5 million who attended the previous year. The pandemic accelerated the adoption of digital technologies: electronic permits, health screening apps, crowd-monitoring AI, and robotic sanitation systems became standard features of الحج management. المملكة العربية السعودية's Vision 2030 plan includes ambitious goals for the الحج: increasing annual العمرة الزوار to 30 million, developing the المدينة Knowledge Economic City, and enhancing الحاج experiences through smart city technologies. The Neom and Red Sea development projects also aim to create new tourism corridors that could benefit الحجاج. Climate change poses a growing concern, as rising temperatures in the Arabian Peninsula threaten الحاج safety during the summer months when الحج falls on those years. Saudi authorities have responded with expanded cooling infrastructure, mandatory الحرارة advisories, and research into climate-resilient الحج management. The spiritual essence of الحج, however, remains unchanged from Ibrahim's time: millions of Muslims from every corner of the world, regardless of race, wealth, or status, gather in simple white garments to answer the eternal call of 'Labbayk Allahumma Labbayk' — Here I am, O Allah, here I am.