´Narrated 'Ikrimah:` 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."
Hadith Referenceسنن ترمذي / كتاب الحدود عن رسول الله صلى الله عليه وسلم / 1458
Hadith Gradingالألبانی:صحيح، ابن ماجة (2535)
Hadith Takhrij«صحیح البخاری/الجہاد 149 (3017) ، والمرتدین 2 (6922) ، سنن ابی داود/ الحدود 1 (4351) ، سنن النسائی/المحاربة 14 (4065) ، سنن ابن ماجہ/الحدود 2 (2535) ( تحفة الأشراف : 5987) ، و مسند احمد (1/282، 283، 323) (صحیح)»