 Shortly after the Siege of Jerusalem , in 1193 , Saladin ’ s son and successor al @-@ Afdal established the land adjacent to the wall as a charitable trust . It was named after an important mystic Abu <unk> Shu 'aib and dedicated to Moroccan settlers who had taken up residence there . Houses were built only 4 metres ( 13 ft ) away from the wall . The first mention of the Islamic tradition that Buraq was tethered at the site is from the 14th century . A manuscript by Ibn <unk> , ( d . 1328 ) , refers to Bab al @-@ <unk> , an old name for a gate along the southwestern wall of the Haram al @-@ Sharif . 
