In the old form of the Hungarian language, Muslims were called Böszörmény, cognates with Turkish Bozulmamış, which in turn descends from Arabic: مسلم, Muslim, a term preserved as both a family name, and as that of the town Hajdúböszörmény.
The first Islamic author to speak of this Muslim community was Yaqut al-Hamawi (575-626 AH/1179-1229 CE), he writes about a famous Hungarian student who studied in Aleppo, according to the student there were 30 Muslim villages in Hungary. Yaqut writes in his famous geographical dictionary, "Mu'ajam al-Buldan", about his meeting with a Hungarian Muslim youth in Syria who was studying Islam there and brought some details of the history and life of their people in Hungary. The Spaniard Muslim traveler
Abu Hamid al Garnati wrote of two types of Muslims in Hungary, the first being the Böszörmény of the Carpathian Basin and Volga Bulgars (Khwarezmians).
In the 11th century, St. Ladislaus and later Coloman passed laws against the non-Christians (Synod of Szabolcs). These laws subdued Islam by coercing Muslims to eat pork, go to Church and intermarry and to forbid them from celebrating Friday. Some of Coloman's laws include:
§ 46 If someone catches Ismaelites in fasting or eating or on keeping away from pork or in ritual washing or in other false practices these Ismaelites have to be sent to the king and whoever sued them shall receive a share from their properties.
§ 47 We command all Ismaelite villages to build a church and finance it. After the church is built the half village should move and settle elsewhere in order to become similar to us in living together and also in Christ and in Church (i.e. become similar in faith).
§ 48 Ismaelites should not marry their daughters to their nation but only to our nation
§ 49 If an Ismaelite has guest, or he invites someone to his house to eat, he and his guests should all eat only pork.
László (Saint Ladislaus) passed the following law
§ 9 on the merchants called Ismaelites, if becomes evident from them then after their baptism they return their old laws based on circumcision they should leave their homes but if they prove innocent they should stay
These laws imposed by the Catholic Church discriminated severely against the small minority and eventually led to the disappearance of the community and its professions altogether.
In the 19th century, after the collapse of the revolution of 1848-9, more than 6,000 emigrated Poles and Hungarians followed General Józef Bem (Murat Paşa) into Turkish exile. Among them were such Hungarian officers such as Richard Guyon (Kurşid Paşa), György Kmety (Ismail Paşa) and
Maximilian Stein (Ferhad Paşa). These personalities were afterwards raised to the post of General.
Guyon is described in the Oxford Dictionary of National Biography as "the first Christian to obtain the rank of pasha and a Turkish military command without being obliged to change his religion", a sign of modernizing meritocracy under the 19th-century Ottomans.
The council of Újbuda has given permission for Muslim community in Hungary, to build the first Islamic centre in Budapest. The new Islamic centre will hold a library containing 50,000 volumes.
Hungary's new "Law on the Right to Freedom of Conscience and Religion, and on Churches, Religions and Religious Communities" was enacted 12 July 2011 and it recognizes only 14 religious groups. Islam is not included in this list and Muslims have to apply to get official recognition under the new law. Under the law, only 14 of 358 registered churches and religious associations will be granted legal recognition, while others will have to reapply for legal registration after two-thirds approval in parliament.
On 27 February 2012, Hungary's parliament amended the country's controversial law on religious organizations to expand the list of officially recognized the Hungarian Islamic Council.