Islam has a form of charity called Waqf in which a person donates a piece of land or a building to serve a charitable purpose - a charitable trust or foundation. These continue to serve the community and bring reward for the giver until Judgment Day. These must be protected. They are sacred.