Located just 4–5 kilometers southwest of Baku, along the scenic coast of the Caspian Sea, the BibiHeybat Mosque is one of the most sacred pilgrimage sites in Azerbaijan. This revered shrine houses the tomb of Lady Hakima (peace be upon her), a descendant of Imam Musa al-Kazim (peace be upon him), the seventh Imam of the Ahlal-Bayt.
For centuries, BibiHeybat has been a place of devotion, prayer, and spiritual reflection. Today it stands not only as a religious sanctuary but also as one of the most important historical and architectural monuments of Azerbaijan.
Historical Background
The original mosque was built in the 13th century during the rule of the Shirvanshah dynasty, commissioned by Farrukhzad II ibn Axsitan. Historical inscriptions found on the walls confirm that the mosque was constructed between 1281 and 1282, and that its architect was Mahmud ibn Saad, a prominent master of medieval Azerbaijani architecture.
One of the inscriptions carved on the mosque walls reads:
“The construction of this mosque was ordered by the exalted king, the great sultan, protector of the state and religion, helper of the Commander of the Faithful, Abulfath Farrukhzad Axsitan. May God elevate his rule.”
Over time, the shrine became deeply connected with the life and legacy of Lady Hakima, who arrived in the region seeking refuge from persecution. She settled near the Caspian coast and devoted her life to caring for her relatives and serving the community.
After her passing, she was buried at this sacred location, which later developed into one of the most beloved pilgrimage sites for followers of the Ahlal-Bayt.
The Origin of the Name “BibiHeybat”
The name of the shrine is closely connected with a local merchant named Haji Badir, a wealthy trader from the historic Inner City of Baku (Icherisheher). According to tradition, he was one of the most devoted supporters of Lady Hakima (as) and was deeply respected in the community.
In Arabic linguistic tradition, the word “Haji” begins with the letter ha, while “Badir” begins with ba. Similar to how the word alphabet is formed from the names of the first letters (alif and ba), the combination of these sounds eventually formed the name “Heybat.”
Because people respectfully addressed Lady Hakima (as) “Bibi” (meaning “aunt” or a respected elder woman), the place gradually became known as BibiHeybat.
According to historical accounts, Haji Badir requested to be buried at the feet of Lady Hakima’s grave, a gesture symbolizing his deep devotion and respect.
Pilgrimage Traditions and Legends
For centuries, BibiHeybat has been considered a sacred pilgrimage destination. Devotees from across Azerbaijan and beyond visit the shrine seeking blessings, healing, and spiritual comfort.
Many stories and traditions about the shrine have been preserved through generations.
One famous legend involves Khurshidbanu Natavan, the renowned 19th-century Azerbaijani poet and daughter of the Karabakh khan. For a long time after her marriage, she was unable to have children. She made a vow at the Bibi-Heybat shrine that if she were blessed with a child, she would build a road leading to the sanctuary.
Soon after, her wish was fulfilled and she gave birth to a child. Honoring her vow, Natavan financed the construction of a road leading to the shrine and later visited the sacred place carrying her child in her arms.
Another historical figure connected with the shrine is Fatali Khan of Quba, who requested in his will to be buried near the sacred graves of the shrine. His relatives fulfilled this wish, and he was laid to rest there.
Destruction During the Soviet Era
The shrine suffered severe destruction during the Soviet anti-religious campaigns of the 1930s. In 1935, the Central Executive Committee ordered the closure of the sanctuary. Shortly afterward, a decision was made to dismantle the mosque.
In 1937, the historic mosque complex was completely destroyed by explosions as part of the Soviet policy of militant atheism.
Many graves and historical structures were lost during the demolition. The tomb of Fatali Khan of Quba was also destroyed, though his tombstone was later preserved and is now kept in the Azerbaijan History Museum.
After the destruction, a Victory Arch was built on the site where the sacred shrine once stood.
Reconstruction After Independence
Following the restoration of Azerbaijan’s independence, efforts began to rebuild the historic shrine.
In 1990, the Chairman of the Caucasus Muslims Board, Sheikh-ul-Islam Allahshukur Pashazade, appealed to the authorities to allocate land for rebuilding the mosque. The request was approved, and in 1991 the original foundations of the destroyed mosque were discovered.
In 1995, the Victory Arch was dismantled, revealing the graves of Lady Hakima (as) , three grandchildren of Imam Musa al-Kazim, and Haji Heybat.
The rebuilding of the mosque was supported by the National Leader of Azerbaijan, Heydar Aliyev, who allocated significant funds from the state budget for its reconstruction.
Construction began on July 23, 1997, coinciding with the blessed birthday of Prophet Muhammad (peace be upon him). Within a year the main construction was completed.
Finally, in 2008, the fully restored Bibi-Heybat Mosque Complex was officially opened in the presence of President Ilham Aliyev and Sheikh-ul-Islam Allahshukur Pashazade, marking the revival of one of Azerbaijan’s most cherished religious landmarks.
Architectural Features
The modern BibiHeybat Mosque was designed in the style of traditional Shirvanshah-era Azerbaijani architecture, reflecting the historical character of the original structure.
The complex is distinguished by its elegant domes, tall minarets, and intricate decorative patterns that highlight the artistic heritage of Islamic architecture in Azerbaijan.
The interior of the mosque is richly decorated with:
finely carved Islamic geometric ornaments
beautifully written Qur’anic calligraphy
polished white marble surfaces
The mosque features two towering minarets, one of which is known as the “Heydar Minaret”, named in honor of Azerbaijan’s National Leader Heydar Aliyev.
Today, the mosque can accommodate approximately 3,000 worshippers at once, making it one of the largest and most important religious centers in the capital.
A Living Spiritual Heritage
Today, BibiHeybat Mosque remains a powerful symbol of Azerbaijan’s spiritual resilience and cultural continuity. Despite destruction and decades of suppression, the shrine has been reborn and once again welcomes thousands of pilgrims and visitors each year.
For believers, it is a sacred place of prayer and devotion. For visitors, it is a remarkable monument reflecting the deep historical, architectural, and spiritual traditions of Azerbaijan.