It was built from 691 from 692 by Caliph Abd al-Malik. It is built on the spot where the is believed to have been, and where Muslims believe Muhammad went up to heaven. The rock on which the building stands is believed by Jews to be the holiest place on Earth