It was narrated from 'Ikrimah:"Some people apostatized after accepting Islam, and 'Ali burned them with fire. Ibn 'Abbas said: 'If it had been me, I would not have burned them; the Messenger of Allah [SAW] said: 'No one should be punished with the punishment of Allah.' If it had been me, I would have killed them; the Messenger of Allah [SAW] said: 'Whoever changes his religion, kill him
Hadith No. 4060
Sunan an Nasai
Gradings:
Abu Ghuddah:
Sahih
Al-Albani:
Sahih
Zubair Ali Zai:
Hasan