That 'Ali burnt some people who apostasized from Islam. This news reached Ibn 'Abbas, so he said: "If it were me I would have killed them according to the statement of Messenger of Allah (ﷺ). The Messenger of Allah (ﷺ) said: 'Whoever changes his religion then kill him.' And I would not have burned them because the Messenger of Allah (ﷺ) said: 'Do not punish with the punishment of Allah.' So this reached 'Ali, and he said: "Ibn 'Abbas has told the truth."
Reference: Jami` at-Tirmidhi 1458 In-book : Book 17, Hadith 42 English translation : Vol. 3, Book 15, Hadith 1458
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.