The remodulation was grounded on a foundational narrative in early Islamic texts, themselves drawing on Persian, Jewish and Christian traditions that emphasized the city's cosmological significance within God's creation. At the time of the Muslim conquest of the city, the victors encountered many traditions concerning the Temple Mount: Muslim beliefs regarding David (the miḥrāb Dāwūd in the Qur'an 38:20-21) and Solomon; shared beliefs that from there, on Mount Moriah (the mountain that the Temple Mount sits upon) Adam had been born and died; shared beliefs that Mount Moriah was also where Abraham almost sacrificed one of his sons; and they absorbed the Christian belief that Zechariah, John the Baptist's father (in the Qur'an, 'prophet of the Jewish scholars') raised a mihrab to Mary, the mother of Jesus on the site. These and other such traditions affected the outlay of Islamic buildings. It has also been argued that the central role Jerusalem assumed in Islamic belief began with Muhammad's instruction to his followers to observe the qibla by facing the direction of Jerusalem during their daily prostrations in prayer. After 13 years (or 16 months, depending on the source), due to both divine guidance and practical matters (souring of relationship with the Jews and/or Muhammd's frustration with the city and its people) the direction of prayer was changed to Mecca in present-day Saudi Arabia. The Umayyad construction of the Dome of the Rock was interpreted by later hostile Abbasid historians as an attempt to redirect the Hajj, or pilgrimage, from Mecca to Jerusalem.