Sheikh `Abdul-Majeed Subh, a prominent Azharite scholar, states: The first masjid built on earth was Al-Masjid Al-Haram (the Ka`bah) and not Al-Masjid Al-Aqsa. The one who first built Aqsa was Prophet Jacop (peace and blessings be upon him). So, Al-Aqsa Mosque was there when Prophet Muhammad (peace and blessings be upon him) visited it and offered prayer in it on the night of Al-Israa’ and Al-Mi`raj (The Night Journey and Ascension).”