"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.'" (Using translation from Nasāʾī 4060)
قَالَ رَسُولُ اللهِ ﷺ «لَا تُعَذِّبُوا بِعَذَابِ اللهِ أَحَدًا» وَلَوْ كُنْتُ أَنَا لَقَتَلْتُهُمْ قَالَ رَسُولُ اللهِ ﷺ «مَنْ بَدَّلَ دِينَهُ فَاقْتُلُوهُ»