By NIRMALA GEORGE, Associated Press

NEW DELHI (AP) — Oscar-winning composer A.R. Rahman has said that he did not intend to offend anyone when he composed the music for an Iranian film on the Prophet Muhammad.

Rahman, who is hugely popular in India, was responding to a religious edict, or 'fatwa,' by a Muslim organization against him and the Iranian director of the film, Majid Majidi.

The big-budget film, "Muhammad: The Messenger of God," was released in Iran earlier this year and at the Montreal World Film Festival last month.

In a message on his Facebook page, Rahman says his decision to compose the music was made in good faith and with no intention of causing offense.

In the message, Rahman said the intention of the film was to "unite humanity, clear misconceptions and spread ... (the) message that life is about kindness."

The film has stirred controversy in several Arab countries on account of its theme. Islamic law generally opposes any depiction of the prophet, even favorable ones, for fear it could lead to idolatry.

The Mumbai-based Raza Academy has urged Muslims not to watch the movie, calling it a "mockery" of Islam.

It ordered Rahman to reaffirm his faith by reciting the tenets of Muslim belief and repeating his marriage vows, to re-establish his status as a Muslim. Similar orders were passed against Majidi as well.

In the fatwa, that was issued last week, the Academy demanded that the Indian government ban the screening of the film, which narrates the story of the Prophet's life from birth to the age of 13.

Since he began composing music for films in 1992, Rahman has composed music and background scores for about 130 films in several Indian languages. In 2009, he received Academy awards for best song and original score for the film "Slumdog Millionaire."

He has also composed the background scores for Hollywood films, "127 Hours," ''Million Dollar Arm" and "Hundred Foot Journey," also collecting a BAFTA award, two Grammy Awards and a Golden Globe for his work.

The 48-year-old musician was born a Hindu, but converted to Islam in 1989 and adopted the name Allah Rakha Rahman.