The Muslims have a right to build a mosque ANYWHERE as long as there is a willing seller and no contracts are violated
Kaaba, Constantinople, Jerusalem, Damascus.....just a few examples of Muslim mosques over religious sites of others after conquest.
I suppose you could call that a contract.........I'm certain the libertarian cowards of their day agreed quite heartily.
Impressive!