mosques were first built on the arabian peninsula. the muslims who built them used old architectural styles. they also combined these styles in new ways. a major influence was the palaces built during the parthian and sassanid dynasties of persia. the "sarvestan palace" from the sassanid era is a good example of this. it has an arched entrance and a central dome. these features already existed in persia before islam.