Buildings and religious sites, especially mosques in Islamic cities like Khartoum and Shiraz, have similarities and differences. The historical past of these two cities shows that in the context of spatial and temporal (from the nineteenth century to the present), due to the domination of the colonialism of the mosque, the great mosque has broken its traditional features. In the continent of Africa, especially in Sudan, with the domination of colonialism and French, Russian and English imperialism, there has been profound and profound changes in the culture of urbanism and the indigenous nature of the building and Arab-Islamic places. But Iranian-Islamic mosques, especially the Atiqh Mosque, have not experienced such a past. In addition to the differences that indicate the dimension of urban identity, the similarities between the two mosques are evident with an emphasis on the dimension of worship. The purpose of this article is to investigate and identify the indices of the differentiation and similarity of the high Khartoum and Atiqh mosques in Shiraz. The method of research in this article is based on the rational reasoning (concept to the case). For this purpose, at first, the theoretical bases of the mosque in two dimensions of worship and urban isolation have been investigated, then the characteristics of each mosque in two cities of Khartoum and Shiraz have been investigated and, finally, their differences and their similarities have been identified. The results show that there is a high similarity in terms of dimensions of worship, such as unity, interconnection, and justice in the valuation of spaces.The results, as well as the theoretical foundations, indicate that the indexes can serve as a basis for the sharing of Islamic mosques in both Iranian and Arabic dimensions, as well as in terms of urban identity, two mosques have a significant differentiation.