Jerusalem is the third-holiest city in Sunni Islam. For approximately a year, before it was permanently switched to the Kaaba in Mecca, the qibla (direction of prayer) for Muslims was Jerusalem. The city's lasting place in Islam, however, is primarily due to Muhammad's Night of Ascension (c. CE 620). Muslims believe Muhammad was miraculously transported one night from Mecca to the Temple Mount in Jerusalem, whereupon he ascended to Heaven to meet previous prophets of Islam. The first verse in the Qur'an's Surat al-Isra notes the destination of Muhammad's journey as al-Aqsa (the farthest) mosque, in reference to the location in Jerusalem. The hadith, the recorded sayings of the Prophet Mohammad, name Jerusalem as the location of the Al-Aqsa Mosque. The al-Aqsa Mosque, derived from the name mentioned in the Qur'an, was built on the Temple Mount under the Umayyad Caliph Al-Walid to commemorate the place from which Muslims believe Muhammad ascended to Heaven.