After conquering new territory, caliphates of the Islamic Empire often established mosques. This demonstrates their desire to:

Aestablish temporary bases in new territories.
Bban all non-Muslim religious practices in their territories.
Cpromote Islamic scholarship in their territories.
Dfiercely defend newly conquered territories.