Well, in the story itself, it appears that the Iranian judiciary is denying it was because of heresy - instead it was more to do with "illicit sex" with his followers; although it is also said that there was no evidence of the sexual activities. What's more, there are several long term prisoners for religious reasons:
Iranian authorities are sensitive towards those practising Islam inAll of this from a country that could be useful in the fight against IS!
ways not conforming to the official line. In recent years, several
members of Iran’s Gonabadi dervishes religious minority have been
arrested and are currently serving lengthy prison terms.
Amnesty said last week that a group of nine Gonabadi dervishes were
on hunger strike in protest at their treatment in prison. They were
Mostafa Abdi, Reza Entesari, Hamidreza Moradi and Kasra Nouri, as well
as the five lawyers representing them who have also been jailed: Amir
Eslami, Farshid Yadollahi, Mostafa Daneshjoo, Afshin Karampour and Omid
Behrouzi.
“The men were mostly detained in September 2011, during a wave of
arrests of Gonabadi dervishes. They were all held in prolonged solitary
confinement, without access to their lawyers and families, and were
sentenced, after two years and following grossly unfair trials, to jail
on various trumped-up charges,” Amnesty said. “The men are prisoners of
conscience, imprisoned solely for practising their faith and defending
the human rights of dervishes through their legitimate activities as
journalists and lawyers.”