The mausoleum was built in the time of Safavid dynasty, but it was destroyed when Stalin conquered the region the burial place was completely demolished. This place is also called Pir Bibi-Heybat, and local people call it the Fatima al-Zahra (a) Mosque. Fatima al-Sughra, the daughter of Imam al-Kazim (a) is buried in this mosque. Bībī Heybat Mosque (Azerbaijani: Bibiheybət məscidi) is a shrine which is located six kilometers southwest of Baku in Azerbaijan.