Islamized African - Mandinga people (Marabu Mandinga). Author: Father David Boilat, possibly in a French colony. Wikimedia Commons
Islam has been present in Rio de Janeiro since the colonial period, starting with the arrival of enslaved Africans who were Muslim. In the 19th century, there are records of booksellers in the Court who sold copies of the Quran mostly to Black people (enslaved, free, or freed), who saved up large sums of money to acquire the holy book, which was quite expensive at the time. This Islamic community in Rio was formed, in large part, by Africans and their descendants who migrated from Bahia to the capital of the empire.
Source: SILVA, Alberto C. Buying and Selling Qurans in Nineteenth-Century Rio de Janeiro
With the prohibition of the slave trade (1850), Islamic followers in Rio de Janeiro became more isolated, and some of their descendants gradually joined other religions. However, at the end of the 19th century, it was still possible to find communities that kept up the study of the Quran, and after World War I, there was an increase in the number of Muslims due to the immigration of Lebanese and Syrians to Brazil.
Due to the increasing Muslim presence in Brazil, mosques began to officially emerge in the 20th century, the oldest one dating back to 1929 and inaugurated in São Paulo. In the city of Rio de Janeiro, the so-called Sociedade Beneficente Muçulmana do Rio de Janeiro (SBMRJ) was inaugurated in 1951, in a room in a commercial building downtown, on Rua Gomes Freire, and it was an initiative of Syrian and Lebanese immigrants who needed a place to gather.
In 1984, aiming for the comfort of its members, who at the time already numbered around 500, the SBMRJ opened a mosque in Jacarepaguá, which was shut down in the mid-1990s due to the difficulty of access for most of the members. In 2007, the Mesquita da Luz was opened on Rua Gonzaga Bastos, in Vila Isabel, with typically Arab architecture. The temple is still in operation today, welcoming worshippers daily and also open to anyone who wishes to visit it.
Mesquita da Luz (or Masjid El Nur) in Vila Isabel. Image taken from Foursquare City Guide
Currently, the majority of followers of Islam in Rio de Janeiro are converts. According to research by the Muslim Benevolent Society of Rio de Janeiro, in 2015 there were around 2,000 Muslims in the state.
Faithful worshippers during prayers at the Mesquita da Luz. Photo: Words Heal the World - Brazil website