The southern boundary of the market is marked by the al-Ghuri complex of three buildings , a mosque , madrasa ( Koranic school ) , and a wikala ( an Ottoman word for caravanserai or rooming house ) .
The mosque is not situated anywhere near the madrasa or wikala .