By about 715 , the El-Aksa Mosque , third holiest place of prayer in Islam ( after Mecca and Medina ) , had been built on the southern side of the Temple Mount .
The mosque had been built on the northern side of the Temple Mount .