LONDON — A popular Iranian rapper has been detained in Turkey and faces deportation to Iran after the Turkish police acted on an Interpol red notice to detain him, friends of the rapper and Turkish news media reported.

Amir Hussein Maqsoodlo, better known as Amir Tataloo, was detained at an immigration office in the Fatih district of Istanbul, according to a music producer who was with him. He is being held at a detention facility for undocumented immigrants in eastern Istanbul near one of the city’s airports.

Mr. Tataloo, 31, has been one of Iran’s most prominent rappers for the past decade. At one point several years ago he had some four million followers on Instagram.

But Iranian clerics have long insisted that rap music is the devil’s work, and censure the lifestyle of rappers and the wearing of tattoos. Mr. Tataloo has had numerous run-ins with the authorities over his music; his hard-partying lifestyle; his outspoken attitude; and the tattoos he flaunts.