Jami` at-Tirmidhi 1000
Grading supplied with this record: Sahih (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنْ نِيحَ عَلَيْهِ عُذِّبَ بِمَا نِيحَ عَلَيْهِ "
Ali bin Rabi'ah Al-Asadi said:
"A man died among the Ansar named Qarazah bin Ka'b, and he was being wailed over. So Al-Mughirah bin Shu'bah came and ascended the Minbar. He uttered thanks and praise to Allah and said: "As for the gravity of wailing in Islam, indeed I heard the Messenger of Allah saying: 'The one who is wailed over is punished as long as he is being wailed over.'"
Full reference and source
Jami` at-Tirmidhi 1000 In-book : Book 10, Hadith 36 English translation : Vol. 2, Book 5, Hadith 1000
View source on Sunnah.com (opens in a new tab)