 Modern scholars agree that the 882 land sale was to a rival synagogue.Little is known about the original building.In about 1012, Fatimid caliph Al-Hakim bi-Amr Allah ordered the destruction of all Jewish and Christian places of worship.