
The Kurdish Muslim warrior Saladin regained control of the city, thus putting an end to the Crusader Kingdom of Jerusalem in October 1187. Even though the Temple Mount was re-consecrated as a Muslim sanctuary, Saladin permitted both Jews and Muslims to settle in Jerusalem. Saladin, who at first had urged Jews to come back to Jerusalem, a few years later forbade them to go on the Temple Mount. From the late thirteenth century to the mid-nineteenth, the Temple Mount was, for the most part, off-limits to Jews with occasional interludes of access.
Source: F.M. Loewenberg. Middle East Quarterly. Summer 2013, pp. 37-48.
http://www.meforum.org/3556/temple-mount