An Islamic court has sentenced nine people to death for insulting the Prophet Muhammad in the northern Nigerian city of Kano.
The accused, who were all Muslims, had pleaded guilty, the head of Kano's religious police, Aminu Ibrahim Daurawa, told the BBC.
The trial was speedily done in secret after a section of the court was burnt down by angry protesters last month.
It is not known if they will appeal against the sentence.
The alleged offence was committed last month at a religious gathering in honour of Sheikh Ibrahim Niasse, the Senegalese founder of the Tijaniya sect, which has a large following across West Africa.
The nine, eight man and a woman, were reported to have said that "Niasse was bigger than Prophet Muhammad", triggering unrest.
The venue was burnt to the ground by an angry mob and the nine were arrested,
"There has been consensus among Muslims scholars
"We quickly put them on trial to avoid bloodshed because people were very angry and trying to take law into their hands," he added.
Kano has a predominately Muslim population and Islamic courts operate alongside secular courts.
BBC Kano reporter Yusuf Yakasai said people celebrated in some parts of the city when news of the judgement emerged.
Several states in predominantly Muslims northern Nigeria have introduced Sharia law after the country returned to civilian rule in 1999.
This is the first time a death sentence has been handed down for blasphemy in northern Nigeria.
The sentence has been delivered for other offences such as adultery but none has been carried out.