Anas bin Malik reported,

Some people from the Zutt who were worshipping an idol were brought to Ali رضي الله عنه, and he had them burned. When Ibn Abbas heard of this, he said, "The Messenger of Allah ﷺ only said, 'Whoever changes his religion, kill him.'"

Ahmad 2966

Sahih

حدثنا عبد الصمد حدثنا هشام بن أبي عبد الله عن قتادة

عن أنس

أن عليا رضي الله عنه أتي بأناس من الزط يعبدون وثنا فأحرقهم فقال ابن عباس إنما قال رسول الله ﷺ من بدل دينه فاقتلوه

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