Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.

ذِكْرُ الْإِخْبَارِ بِإِيجَابِ اللَّهِ جَلَّ وَعَلَا لِلْمَيِّتِ مَا أَثْنَى عَلَيْهِ النَّاسُ مِنْ خَيْرٍ أَوْ شَرٍّ

ibnhibban:3023al-Faḍl b. al-Ḥubāb al-Jumaḥī > Sulaymān b. Ḥarb > Shuʿbah > ʿAbd al-ʿAzīz b. Ṣuhayb > Anas b. Mālik

[Machine] "They passed by the Messenger of Allah ﷺ during a funeral procession and spoke ill of it, so he said ﷺ, 'It is deserved.' They passed by another funeral procession and spoke well of it, so he said ﷺ, 'It is deserved.' Umar said, 'O Messenger of Allah, what is deserved?' He said, 'If they pass by this one and speak ill of it, then the Fire is deserved. And if they pass by this one and speak well of it, then Paradise is deserved. And you are the witnesses of Allah on earth.'"  

ابن حبّان:٣٠٢٣أَخْبَرَنَا الْفَضْلُ بْنُ الْحُبَابِ الْجُمَحِيُّ قَالَ حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ عَنْ شُعْبَةَ عَنْ عَبْدِ الْعَزِيزِ بْنِ صُهَيْبٍ عَنِ أَنَسِ بْنِ مَالِكٍ قَالَ

مَرُّوا عَلَى رَسُولِ اللَّهِ ﷺ بِجِنَازَةٍ فَأَثْنَوْا عَلَيْهَا شَرًّا فَقَالَ ﷺ «وَجَبَتْ» وَمَرُّوا بِأُخْرَى فَأَثْنَوْا عَلَيْهَا خَيْرًا فَقَالَ ﷺ «وَجَبَتْ» فَقَالَ عُمَرُ يَا رَسُولَ اللَّهِ مَا وَجَبَتْ؟ قَالَ «مَرُّوا بِتِلْكَ فَأَثْنَوْا عَلَيْهَا شَرًّا فَوَجَبَتِ النَّارُ وَمَرُّوا بِهَذِهِ فَأَثْنَوْا عَلَيْهَا خَيْرًا فَوَجَبَتِ الْجَنَّةُ وَأَنْتُمْ شُهَدَاءُ اللَّهِ فِي الْأَرْضِ»  


See similar narrations below:

Collected by Bukhārī, Nasāʾī, Ibn Mājah, Aḥmad, Ibn Ḥibbān, Bayhaqī
bukhari:1367Ādam > Shuʿbah > ʿAbd al-ʿAzīz b. Ṣuhayb > Anas b. Mālik > Marrūā Bijanāzah Faʾathnawā ʿAlayhā Khayr

A funeral procession passed and the people praised the deceased. The Prophet ﷺ said, "It has been affirmed to him." Then another funeral procession passed and the people spoke badly of the deceased. The Prophet ﷺ said, "It has been affirmed to him". ʿUmar bin Al-Khattab asked (Messenger of Allah ﷺ ), "What has been affirmed?" He replied, "You praised this, so Paradise has been affirmed to him; and you spoke badly of this, so Hell has been affirmed to him. You people are Allah's witnesses on earth."  

البخاري:١٣٦٧حَدَّثَنَا آدَمُ حَدَّثَنَا شُعْبَةُ حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ صُهَيْبٍ قَالَ سَمِعْتُ أَنَسَ بْنَ مَالِكٍ ؓ يَقُولُ مَرُّوا بِجَنَازَةٍ فَأَثْنَوْا عَلَيْهَا خَيْرًا فَقَالَ

النَّبِيُّ ﷺ وَجَبَتْ ثُمَّ مَرُّوا بِأُخْرَى فَأَثْنَوْا عَلَيْهَا شَرًّا فَقَالَ وَجَبَتْ فَقَالَ عُمَرُ بْنُ الْخَطَّابِ ؓ مَا وَجَبَتْ قَالَ هَذَا أَثْنَيْتُمْ عَلَيْهِ خَيْرًا فَوَجَبَتْ لَهُ الْجَنَّةُ وَهَذَا أَثْنَيْتُمْ عَلَيْهِ شَرًّا فَوَجَبَتْ لَهُ النَّارُ أَنْتُمْ شُهَدَاءُ اللَّهِ فِي الأَرْضِ  

bukhari:2642Sulaymān b. Ḥarb > Ḥammād b. Zayd > Thābit > Anas

A funeral procession passed in front of the Prophet ﷺ and the people praised the deceased. The Prophet ﷺ said, "It has been affirmed (Paradise)." Then another funeral procession passed by and the people talked badly of the deceased. The Prophet ﷺ said, "It has been affirmed (Hell)." Messenger of Allah ﷺ was asked, "O Messenger of Allah ﷺ! You said it has been affirmed for both?" The Prophet ﷺ said, "The testimony of the people (is accepted), (for) the believer are Allah's witnesses on the earth."  

البخاري:٢٦٤٢حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ عَنْ ثَابِتٍ عَنْ أَنَسٍ ؓ قَالَ

مُرَّ عَلَى النَّبِيِّ ﷺ بِجَنَازَةٍ فَأَثْنَوْا عَلَيْهَا خَيْرًا فَقَالَ وَجَبَتْ ثُمَّ مُرَّ بِأُخْرَى فَأَثْنَوْا عَلَيْهَا شَرًّا أَوْ قَالَ غَيْرَ ذَلِكَ فَقَالَ وَجَبَتْ فَقِيلَ يَا رَسُولَ اللَّهِ قُلْتَ لِهَذَا وَجَبَتْ وَلِهَذَا وَجَبَتْ قَالَ شَهَادَةُ الْقَوْمِ الْمُؤْمِنُونَ شُهَدَاءُ اللَّهِ فِي الأَرْضِ  

nasai:1932Ziyād b. Ayyūb > Ismāʿīl > ʿAbd al-ʿAzīz > Anas > Mur Bijanāzah Faʾuthnī ʿAlayhā Khayr

"A funeral passed by and the deceased was praised." The Prophet said: "It is granted." Another funeral passed by and the deceased was criticized. The Prophet said: "It is granted." 'Umar said: "May my father and mother be ransomed for you. One funeral passed by and the deceased was praised, and you said, 'It is granted?"' He said: "Whoever is praised will be granted Paradise, and whoever is criticized will be granted Hell, You are the witnesses of Allah on Earth."  

النسائي:١٩٣٢أَخْبَرَنِي زِيَادُ بْنُ أَيُّوبَ قَالَ حَدَّثَنَا إِسْمَاعِيلُ قَالَ حَدَّثَنَا عَبْدُ الْعَزِيزِ عَنْ أَنَسٍ قَالَ مُرَّ بِجَنَازَةٍ فَأُثْنِيَ عَلَيْهَا خَيْرًا فَقَالَ

النَّبِيُّ ﷺ وَجَبَتْ وَمُرَّ بِجَنَازَةٍ أُخْرَى فَأُثْنِيَ عَلَيْهَا شَرًّا فَقَالَ النَّبِيُّ ﷺ وَجَبَتْ فَقَالَ عُمَرُ فِدَاكَ أَبِي وَأُمِّي مُرَّ بِجَنَازَةِ فَأُثْنِيَ عَلَيْهَا خَيْرًا فَقُلْتَ وَجَبَتْ وَمُرَّ بِجَنَازَةٍ فَأُثْنِيَ عَلَيْهَا شَرًّا فَقُلْتَ وَجَبَتْ فَقَالَ مَنْ أَثْنَيْتُمْ عَلَيْهِ خَيْرًا وَجَبَتْ لَهُ الْجَنَّةُ وَمَنْ أَثْنَيْتُمْ عَلَيْهِ شَرًّا وَجَبَتْ لَهُ النَّارُ أَنْتُمْ شُهَدَاءُ اللَّهِ فِي الأَرْضِ  

nasai:1933Muḥammad b. Bashhār > Hishām b. ʿAbd al-Malik > Shuʿbah > Ibrāhīm b. ʿĀmir And Jadduh Umayyah b. Khalaf > ʿĀmir b. Saʿd > Abū Hurayrah

"A funeral passed by the Prophet and they praised (the deceased). The Prophet said: 'It is granted.' Then another funeral passed by and they criticized (the deceased). The Prophet said: 'It is granted.' They said: 'O Messenger of Allah, you said in both cases, 'It is granted?' The Prophet said: 'The angels are the witnesses of Allah in heaven, and you are the witnesses of Allah on Earth."'  

النسائي:١٩٣٣أَخْبَرَنَا مُحَمَّدُ بْنُ بَشَّارٍ قَالَ حَدَّثَنَا هِشَامُ بْنُ عَبْدِ الْمَلِكِ قَالَ حَدَّثَنَا شُعْبَةُ قَالَ سَمِعْتُ إِبْرَاهِيمَ بْنَ عَامِرٍ وَجَدُّهُ أُمَيَّةُ بْنُ خَلَفٍ قَالَ سَمِعْتُ عَامِرَ بْنَ سَعْدٍ عَنْ أَبِي هُرَيْرَةَ قَالَ

مَرُّوا بِجَنَازَةٍ عَلَى النَّبِيِّ ﷺ فَأَثْنَوْا عَلَيْهَا خَيْرًا فَقَالَ النَّبِيُّ ﷺ وَجَبَتْ ثُمَّ مَرُّوا بِجَنَازَةٍ أُخْرَى فَأَثْنَوْا عَلَيْهَا شَرًّا فَقَالَ النَّبِيُّ ﷺ وَجَبَتْ قَالُوا يَا رَسُولَ اللَّهِ قَوْلُكَ الأُولَى وَالأُخْرَى وَجَبَتْ فَقَالَ النَّبِيُّ ﷺ الْمَلاَئِكَةُ شُهَدَاءُ اللَّهِ فِي السَّمَاءِ وَأَنْتُمْ شُهَدَاءُ اللَّهِ فِي الأَرْضِ  

ibnmajah:1491Aḥmad b. ʿAbdah > Ḥammād b. Zayd > Thābit > Anas b. Mālik

“A funeral (procession) passed by the Prophet ﷺ and they praised (the deceased) and spoke well of him. He said: ‘(Paradise is) guaranteed for him.’ Then another funeral passed by and they spoke badly of him, and he (the Prophet ﷺ) said: ‘(Hell is) guaranteed for him.’ It was said: ‘O Messenger of Allah, you said that (Paradise was) guaranteed for this one and that (Hell was) guaranteed for the other one.’ He said: ‘It is the testimony of the people, and the believers are the witnesses of Allah on earth.’”  

ابن ماجة:١٤٩١حَدَّثَنَا أَحْمَدُ بْنُ عَبْدَةَ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ عَنْ ثَابِتٍ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ

مُرَّ عَلَى النَّبِيِّ ﷺ بِجِنَازَةٍ فَأُثْنِيَ عَلَيْهَا خَيْرًا فَقَالَ وَجَبَتْ ثُمَّ مُرَّ عَلَيْهِ بِجِنَازَةٍ فَأُثْنِيَ عَلَيْهَا شَرًّا فَقَالَ وَجَبَتْ فَقِيلَ يَا رَسُولَ اللَّهِ قُلْتَ لِهَذِهِ وَجَبَتْ وَلِهَذِهِ وَجَبَتْ فَقَالَ شَهَادَةُ الْقَوْمِ وَالْمُؤْمِنُونَ شُهُودُ اللَّهِ فِي الأَرْضِ  

ibnmajah:1492Abū Bakr b. Abū Shaybah > ʿAlī b. Mushir > Muḥammad b. ʿAmr > Abū Salamah > Abū Hurayrah

“A funeral passed by the Prophet ﷺ and they praised (the deceased) and spoke well of him and mentioned his good characteristics. He said: ‘(Paradise is) guaranteed for him.’ Then another funeral passed by and they spoke badly of him and mentioned his bad characteristics, and he the Prophet ﷺ said: ‘(Hell is) guaranteed for him. You are the witnesses of Allah on earth.’”  

ابن ماجة:١٤٩٢حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا عَلِيُّ بْنُ مُسْهِرٍ عَنْ مُحَمَّدِ بْنِ عَمْرٍو عَنْ أَبِي سَلَمَةَ عَنْ أَبِي هُرَيْرَةَ قَالَ

مُرَّ عَلَى النَّبِيِّ ﷺ بِجِنَازَةٍ فَأُثْنِيَ عَلَيْهَا خَيْرًا فِي مَنَاقِبِ الْخَيْرِ فَقَالَ وَجَبَتْ ثُمَّ مَرُّوا عَلَيْهِ بِأُخْرَى فَأُثْنِيَ عَلَيْهَا شَرًّا فِي مَنَاقِبِ الشَّرِّ فَقَالَ وَجَبَتْ إِنَّكُمْ شُهَدَاءُ اللَّهِ فِي الأَرْضِ  

ahmad:12938Ismāʿīl > ʿAbd al-ʿAzīz > Anas > Marrūā Bijināzah Faʾuthnī ʿAlayhā Khayr

There passed a bier (being carried by people) and it was lauded in good terms. Upon this the Messenger of Allah ﷺ said: It has become certain, it has become certain, it has become certain. And there passed a bier and it was condemned in bad words. Upon this the Messenger of Allah ﷺ said: It has become certain, it has become certain, it has become certain. 'Umar said: May my father and mother be ransom for you! There passed a bier and it was praised in good terms, and you said: It has become certain, it has become certain, it has become certain. And there passed a bier and it was condemned in bad words, and you said: It has become certain, it has become certain, it has become certain. Upon this the Messenger of Allah (way peace be upon him) said: He whom you praised in good terms, Paradise has become certain for him, and he whom you condemned in bad words, Hell has become certain for him. You are Allah's witnesses in the earth, you are Allah's witnesses in the earth, you are Allah's witnesses in the earth. (Using translation from Muslim 949a)  

أحمد:١٢٩٣٨حَدَّثَنَا إِسْمَاعِيلُ حَدَّثَنَا عَبْدُ الْعَزِيزِ عَنْ أَنَسٍ قَالَ مَرُّوا بِجِنَازَةٍ فَأُثْنِيَ عَلَيْهَا خَيْرًا فَقَالَ

النَّبِيُّ ﷺ وَجَبَتْ وَجَبَتْ وَجَبَتْ وَمَر بِجَنَازَةٍ فَأُثْنِي عَلَيْهَا شَرًّا فَقَالَ نَّبِيُّ اللهِ ﷺ وَجَبَتْ وَجَبَتْ وَجَبَتْ فَقَالَ عُمَرُ فِدَاكَ أَبِي وَأُمِّي مُرَّ بِجَنَازَةٍ فَأُثْنِيَ عَلَيْهَا خَيْرًا فَقُلْتَ وَجَبَتْ وَجَبَتْ وَجَبَتْ وَمُرَّ بِجَنَازَةٍ فَأُثْنِيَ عَلَيْهَا شَرًّا فَقُلْتَ وَجَبَتْ وَجَبَتْ وَجَبَتْ فَقَالَ مَنْ أَثْنَيْتُمْ عَلَيْهِ خَيْرًا وَجَبَتْ لَهُ الْجَنَّةُ وَمَنْ أَثْنَيْتُمْ عَلَيْهِ شَرًّا وَجَبَتْ لَهُ النَّارُ أَنْتُمْ شُهَدَاءُ اللهِ فِي الْأَرْضِ أَنْتُمْ شُهَدَاءُ اللهِ فِي الْأَرْضِ أَنْتُمْ شُهَدَاءُ اللهِ فِي الْأَرْضِ  

ahmad:12939Yūnus b. Muḥammad > Ḥammād / Ibn Zayd > Thābit > Anas

“A funeral (procession) passed by the Prophet ﷺ and they praised (the deceased) and spoke well of him. He said: ‘(Paradise is) guaranteed for him.’ Then another funeral passed by and they spoke badly of him, and he (the Prophet ﷺ) said: ‘(Hell is) guaranteed for him.’ It was said: ‘O Messenger of Allah, you said that (Paradise was) guaranteed for this one and that (Hell was) guaranteed for the other one.’ He said: ‘It is the testimony of the people, and the believers are the witnesses of Allah on earth.’” (Using translation from Ibn Mājah 1491)   

أحمد:١٢٩٣٩حَدَّثَنَا يُونُسُ بْنُ مُحَمَّدٍ حَدَّثَنَا حَمَّادٌ يَعْنِي ابْنَ زَيْدٍ عَنْ ثَابِتٍ عَنْ أَنَسٍ قَالَ

مُرَّ عَلَى رَسُولِ اللهِ ﷺ بِجِنَازَةٍ فَأَثْنَى الْقَوْمُ خَيْرًا فَقَالَ وَجَبَتْ ثُمَّ مُرَّ بِجَنَازَةٍ أُخْرَى فَأُثْنِيَ عَلَيْهَا شَرًّا فَقَالَ وَجَبَتْ فَقَالُوا قُلْتَ لِهَذَا وَجَبَتْ وَلِهَذَا وَجَبَتْ ؟ قَالَ شَهَادَةُ الْقَوْمِ وَالْمُؤْمِنُونَ شُهَدَاءُ اللهِ فِي الْأَرْضِ  

ahmad:13039ʿAbd al-Razzāq > Maʿmar > Thābit > Anas

[Machine] I passed by a funeral procession of the Messenger of Allah ﷺ , and he said, "Praise him." They said, "He used to love Allah and His Messenger, and they used to praise him well." He said, "It is obligatory." Then, he passed by another funeral, and he said, "Praise him." They said, "He was a bad person in the religion of Allah." He said, "You are witnesses of Allah on earth."  

أحمد:١٣٠٣٩حَدَّثَنَا عَبْدُ الرَّزَّاقِ حَدَّثَنَا مَعْمَرٌ عَنْ ثَابِتٍ عَنْ أَنَسٍ قَالَ

مُرَّ بِجِنَازَةٍ عَلَى رَسُولِ اللهِ ﷺ فَقَالَ أَثْنُوا عَلَيْهَا فَقَالُوا كَانَ مَا عَلِمْنَا يُحِبُّ اللهَ وَرَسُولَهُ وَأَثْنَوْا عَلَيْهِ خَيْرًا فَقَالَ وَجَبَتْ ثُمَّ مُرَّ عَلَيْهِ بِجِنَازَةٍ أُخْرَى فَقَالَ أَثْنُوا عَلَيْهَا فَقَالُوا بِئْسَ الْمَرْءُ كَانَ فِي دِينِ اللهِ فَقَالَ وَجَبَتْ أَنْتُمْ شُهُودُ اللهِ فِي الْأَرْضِ  

ahmad:13572ʿAffān > Ḥammād > Thābit > Anas b. Mālik

[Machine] The Messenger of Allah, ﷺ , passed by a funeral, so they praised it. The Messenger of Allah, ﷺ , said, "It is now obligatory." Then he passed by another funeral, and they spoke ill of it. The Messenger of Allah, ﷺ , said, "It is now obligatory." Then he said, "You are the witnesses of Allah on Earth."  

أحمد:١٣٥٧٢حَدَّثَنَا عَفَّانُ حَدَّثَنَا حَمَّادٌ حَدَّثَنَا ثَابِتٌ عَنْ أَنَسِ بْنِ مَالِكٍ

أَنَّ رَسُولَ اللهِ ﷺ مَرَّتْ عَلَيْهِ جَنَازَةٌ فَأَثْنَوْا عَلَيْهَا خَيْرًا فَقَالَ رَسُولُ اللهِ ﷺ وَجَبَتْ ثُمَّ مُرَّ عَلَيْهِ بِجِنَازَةٍ أُخْرَى فَأَثْنَوْا عَلَيْهَا شَرًّا فَقَالَ رَسُولُ اللهِ ﷺ وَجَبَتْ ثُمَّ قَالَ أَنْتُمْ شُهَدَاءُ اللهِ فِي الْأَرْضِ  

ahmad:13996Muḥammad b. Jaʿfar > Shuʿbah > ʿAbd al-ʿAzīz b. Ṣuhayb > Anas b. Mālik

[Machine] The Messenger of Allah ﷺ passed by a funeral and they praised it favorably, so he said, "It is binding, it is binding." And he passed by another funeral and they praised it negatively, so he said, "It is binding, it is binding." Umar said, "O Messenger of Allah, your first statement 'it is binding' and your second statement 'it is binding'? "The Prophet said, "As for the first, when they praised it favorably, I said that Paradise is binding for him. As for the second, when they praised it negatively, I said that Hellfire is binding for him. And you are witnesses of Allah on His earth."  

أحمد:١٣٩٩٦حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ حَدَّثَنَا شُعْبَةُ عَنْ عَبْدِ الْعَزِيزِ بْنِ صُهَيْبٍ عَنْ أَنَسِ بْنِ مَالِكٍ

أَنَّ رَسُولَ اللهِ ﷺ مَرَّتْ عَلَيْهِ جَنَازَةٌ فَأَثْنَوْا عَلَيْهَا خَيْرًا فَقَالَ وَجَبَتْ وَجَبَتْ وَمَرَّتْ عَلَيْهِ جَنَازَةٌ فَأَثْنَوْا عَلَيْهَا شَرًّا فَقَالَ وَجَبَتْ وَجَبَتْ فَقَالَ عُمَرُ يَا رَسُولَ اللهِ قَوْلُكَ الْأَوَّلُ وَجَبَتْ وَقَوْلُكَ الْآخَرُ وَجَبَتْ؟ قَالَ أَمَّا الْأَوَّلُ فَأَثْنَوْا عَلَيْهَا خَيْرًا فَقُلْتُ وَجَبَتْ لَهُ الْجَنَّةُ وَأَمَّا الْآخَرُ فَأَثْنَوْا عَلَيْهَا شَرًّا فَقُلْتُ وَجَبَتْ لَهُ النَّارُ وَأَنْتُمْ شُهَدَاءُ اللهِ فِي أَرْضِهِ  

ahmad:10013Wakīʿ > Sufyān Wamisʿar > Ibrāhīm b. ʿĀmir b. Masʿūd al-Jumaḥī > Sufyān > ʿĀmir b. Saʿd > Misʿar Aẓunnuh > ʿĀmir b. Saʿd > Abū Hurayrah

People with a bier passed by the Messenger of Allah ﷺ. They (the companions) spoke highly of him. He said: Paradise is certain for him. Then some people with another (bier) passed by him. They spoke very badly of him. He said: Hell is certain for him. He then said: Some of you are witness to others. (Using translation from Abū Dāʾūd 3233)   

أحمد:١٠٠١٣حَدَّثَنَا وَكِيعٌ عَنْ سُفْيَانَ وَمِسْعَرٍ عَنِ إِبْرَاهِيمَ بْنِ عَامِرِ بْنِ مَسْعُودٍ الْجُمَحِيِّ قَالَ سُفْيَانُ عَنْ عَامِرِ بْنِ سَعْدٍ وَقَالَ مِسْعَرٌ أَظُنُّهُ عَنْ عَامِرِ بْنِ سَعْدٍ عَنِ أَبِي هُرَيْرَةَ قَالَ

مَرُّوا عَلَى النَّبِيِّ ﷺ بِجِنَازَةٍ فَأَثْنَوْا عَلَيْهَا خَيْرًا فَقَالَ وَجَبَتْ ثُمَّ مَرُّوا عَلَيْهِ بِجِنَازَةٍ فَأَثْنَوْا عَلَيْهَا شَرًّا فَقَالَ وَجَبَتْ فَقَالُوا يَا رَسُولَ اللهِ مَا وَجَبَتْ؟ وَجَبَتْ؟ قَالَ بَعْضُكُمْ شُهَدَاءُ عَلَى بَعْضٍ  

ahmad:10471Yazīd > Muḥammad > Abū Salamah > Abū Hurayrah

“A funeral passed by the Prophet ﷺ and they praised (the deceased) and spoke well of him and mentioned his good characteristics. He said: ‘(Paradise is) guaranteed for him.’ Then another funeral passed by and they spoke badly of him and mentioned his bad characteristics, and he the Prophet ﷺ said: ‘(Hell is) guaranteed for him. You are the witnesses of Allah on earth.’” (Using translation from Ibn Mājah 1492)   

أحمد:١٠٤٧١حَدَّثَنَا يَزِيدُ أَخْبَرَنَا مُحَمَّدٌ عَنْ أَبِي سَلَمَةَ عَنْ أَبِي هُرَيْرَةَ قَالَ

مَرُّوا عَلَى رَسُولِ اللهِ ﷺ بِجِنَازَةٍ فَأَثْنَوْا عَلَيْهَا خَيْرًا فِي مَنَاقِبِ الْخَيْرِ فَقَالَ رَسُولُ اللهِ ﷺ وَجَبَتْ ثُمَّ مَرُّوا عَلَيْهِ بِجِنَازَةٍ أُخْرَى فَأَثْنَوْا عَلَيْهَا شَرًّا فِي مَنَاقِبِ الشَّرِّ فَقَالَ رَسُولُ اللهِ ﷺ وَجَبَتْ إِنَّكُمْ شُهَدَاءُ اللهِ فِي الْأَرْضِ  

ذِكْرُ إِثْبَاتِ اللَّهِ جَلَّ وَعَلَا لِلْمَرْءِ حُكْمَ ثَنَاءِ النَّاسِ عَلَيْهِ فِي الدُّنْيَا

ibnhibban:3025ʿImrān b. Mūsá b. Mujāshiʿ > Muḥammad b. ʿUbayd b. Ḥisāb > Ḥammād b. Zayd > Thābit > Anas

“A funeral (procession) passed by the Prophet ﷺ and they praised (the deceased) and spoke well of him. He said: ‘(Paradise is) guaranteed for him.’ Then another funeral passed by and they spoke badly of him, and he (the Prophet ﷺ) said: ‘(Hell is) guaranteed for him.’ It was said: ‘O Messenger of Allah, you said that (Paradise was) guaranteed for this one and that (Hell was) guaranteed for the other one.’ He said: ‘It is the testimony of the people, and the believers are the witnesses of Allah on earth.’” (Using translation from Ibn Mājah 1491)  

ابن حبّان:٣٠٢٥أَخْبَرَنَا عِمْرَانُ بْنُ مُوسَى بْنِ مُجَاشِعٍ قَالَ حَدَّثَنَا مُحَمَّدُ بْنُ عُبَيْدِ بْنِ حِسَابٍ قَالَ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ عَنْ ثَابِتٍ عَنْ أَنَسٍ قَالَ

مُرَّ عَلَى النَّبِيِّ ﷺ بِجِنَازَةٍ فَأُثْنِيَ عَلَيْهَا خَيْرًا فَقَالَ ﷺ وَجَبَتْ ثُمَّ مُرَّ عَلَيْهِ بِجِنَازَةٍ فَأُثْنِيَ عَلَيْهَا شَرًّا فَقَالَ النَّبِيُّ ﷺ وَجَبَتْ فَقِيلَ يَا رَسُولَ اللهِ قُلْتَ لِهَذَا وَجَبَتْ وَقُلْتَ لِهَذَا وَجَبَتْ فَقَالَ شَهَادَةُ الْقَوْمِ وَالْمُؤْمِنُونَ شُهَدَاءُ اللهِ فِي الأَرْضِ  

bayhaqi:7184Muḥammad b. ʿAbdullāh al-Ḥāfiẓ > ʿAbd al-Raḥman b. al-Ḥasan al-Qāḍī > Ibrāhīm b. al-Ḥusayn > Ādam > Shuʿbah > ʿAbd al-ʿAzīz b. Ṣuhayb > Anas b. Mālik > Marrūā

[Machine] I heard Anas ibn Malik say: The Prophet ﷺ passed by a funeral procession, and they spoke well of it, so he said, "It is deserved." Then he passed by another funeral procession, and they spoke ill of it, so he said, "It is deserved." Umar ibn Al-Khattab asked, "What is deserved, O Messenger of Allah?" He said, "For the first one, you spoke well of him, so Paradise is deserved for him. And for the second one, you spoke ill of him, so Hellfire is deserved for him. And you are the witnesses of Allah on earth."  

البيهقي:٧١٨٤أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْحَافِظُ أَخْبَرَنِي عَبْدُ الرَّحْمَنِ بْنُ الْحَسَنِ الْقَاضِي ثنا إِبْرَاهِيمُ بْنُ الْحُسَيْنِ ثنا آدَمُ ثنا شُعْبَةُ ثنا عَبْدُ الْعَزِيزِ بْنُ صُهَيْبٍ قَالَ

سَمِعْتُ أَنَسَ بْنَ مَالِكٍ يَقُولُ مَرُّوا بِجِنَازَةٍ عَلَى رَسُولِ اللهِ ﷺ فَأَثْنَوْا عَلَيْهَا خَيْرًا فَقَالَ رَسُولُ اللهِ ﷺ وَجَبَتْ ثُمَّ مُرَّ بِأُخْرَى فَأَثْنَوْا عَلَيْهَا شَرًّا فَقَالَ وَجَبَتْ فَقَالَ عُمَرُ بْنُ الْخَطَّابِ ؓ مَا وَجَبَتْ يَا رَسُولَ اللهِ قَالَ هَذَا أَثْنَيْتُمْ عَلَيْهِ خَيْرًا فَوَجَبَتْ لَهُ الْجَنَّةُ وَهَذَا أَثْنَيْتُمْ عَلَيْهِ شَرًّا فَوَجَبَتْ لَهُ النَّارُ وَأَنْتُمْ شُهَدَاءُ اللهِ فِي الْأَرْضِ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ آدَمَ بْنِ أَبِي إِيَاسٍ وَأَخْرَجَهُ مُسْلِمٌ مِنْ حَدِيثِ ابْنِ عُلَيَّةَ عَنْ عَبْدِ الْعَزِيزِ