Musnad Ahmad 1871
Grading supplied with this record: Sahih (Darussalam) [ al-Bukhari (3017)]
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
It was narrated from ‘Ikrimah that
‘Ali burned some people who apostatized from Islam. News of that reached Ibn "Abbas and he said: I would not have burned them with fire. The Messenger of Allah (ﷺ) said: "Do not punish people with the punishment of Allah." I would have executed them, because the Messenger of Allah (ﷺ) said: “Whoever changes his religion, execute him." News of that reached ‘Ali (رضي الله عنه) and he said: Woe to the son of the mother of Ibn "Abbas.
Full reference and source
Musnad Ahmad 1871 Arabic/English book : Book 25, Hadith 1871
View source on Sunnah.com (opens in a new tab)