Sunan Ibn Majah 3930b
Grading supplied with this record: Hasan (Darussalam)
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 Sumait, from "Imran bin Husain who said:
"The Messenger of Allah (ﷺ) sent us on a campaign, and a Muslim man attacked an idolater man." And he mentioned the Hadith and added: "And the earth cast him out. The Prophet (ﷺ) was told about that and he said: "The earth accepts those who are worse than him, but Allah wanted to show you how great is the sanctity of La ilaha illallah.'"
Full reference and source
Sunan Ibn Majah 3930b In-book : Book 36, Hadith 5 English translation : Vol. 5, Book 36, Hadith 3930
View source on Sunnah.com (opens in a new tab)