Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
8,202 is the size of the population in Spain born in Iran (including those with Spanish citizenship). 5,135 is the size of the foreign population (thus, with no Spanish citizenship) in Spain with Iranian citizenship.
Iranians in Spain have a history going back for over a millennium and form a minor population in modern day. They are a part of the Iranian diaspora.
Migration history
Razi wrote in the 10th century that some Iranians had already settled in Al-Andalus, and Ibn Battuta later claimed the Iranians of Al-Andalus preferred to live in Granada because of its similarity to their homeland. However, the impetus for modern Iranian immigration to Spain came largely from the 1979 Iranian Revolution, as a result of which some Iranians went to Spain as political refugees.
Demography
A 1992 survey found that 31.7% worked in administrative jobs, 18.2% were professionals or technicians, 25.7% worked in trade, and another 11% worked in agriculture. The vast majority were 25-54 years of age, and only one-fifth were women. This is actually a relatively large proportion of women compared to other Muslim migrant communities in Spain, which may be attributed to the fact that most Iranians in Spain are political, rather than economic migrants.
Shojaeddin Shafa, De Persia a la España musulmana : la historia recuperada, Université de Huelva (Espagne), 2000, traduction en espagnol du manuscrit en français, inédit, par Maria Angeles Gallego Garcia.
Kenesson, Summer S. (1992), "Nasrid Luster Pottery: The Alhambra Vases", Muqarnas, 9, BRILL: 93–115, doi:10.2307/1523138, JSTOR1523138
López García, Bernabé; Planet Contreras, Ana I. (2002), "Islam in Spain", in Hunter, Shireen (ed.), Islam, Europe's Second Religion: The New Social, Cultural, and Political Landscape, Greenwood, pp. 157–174, ISBN978-0-275-97608-8
Jamshid, M. (1982-07-12), "Iraníes en España", El País, Spain, retrieved 2008-11-04