Ribat

Originally designated a building type that was both military and religious in character. It was a fortified barrack for those volunteers (murabitun) whose piety led them to devote themselves to guarding the frontiers of the Islamic state.