Al-Hakim bi-Amr Allah
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. The original Ben Ezra Synagogue was torn down, "its bricks and timber sold for scrap".