 That means the name was given to the dome due to the madrasah.It has been used for different purposes over the centuries.The Dome of Nahawiyah means close to God and the holy rock, therefore people above a certain standard would come here.