Ikrima reported,

Ali burned a group of people who had apostatized from Islam. When news of this reached Ibn Abbas, he said, "I would not have burned them with fire, for the Messenger of Allah ﷺ said, 'Do not punish with the punishment of Allah.' I would have killed them, in accordance with the words of the Messenger of Allah ﷺ, 'Whoever changes his religion, kill him.'"When this reached Ali, may Allah honor his face, he said, "Woe to the son of Ibn Abbas's mother!"

Ahmad 1871

Sahih

حدثنا إسماعيل حدثنا أيوب

عن عكرمة

أن عليا حرق ناسا ارتدوا عن الإسلام فبلغ ذلك ابن عباس فقال لم أكن لأحرقهم بالنار وإن رسول الله ﷺ قال لا تعذبوا بعذاب الله وكنت قاتلهم لقول رسول الله ﷺ من بدل دينه فاقتلوه فبلغ ذلك عليا كرم الله وجهه فقال ويح ابن أم ابن عباس

أحمد 1871صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Abbas bin Abdul-Muttalib
Numbering
Darussalam 1871
Ahmad 1871