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.
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)   

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

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


See similar narrations below:

Collected by Bukhārī, Nasāʾī, Ibn Mājah, Aḥmad, Ibn Ḥibbān, Nasāʾī's Kubrá, 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: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: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: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:7552Yaʿlá And Yazīd > Muḥammad b. ʿAmr > Abū Salamahaʿan 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)   

أحمد:٧٥٥٢حَدَّثَنَا يَعْلَى وَيَزِيدُ قَالَا أَخْبَرَنَا مُحَمَّدُ بْنُ عَمْرٍو عَنْ أَبِي سَلَمَةَعَنْ أَبِي هُرَيْرَةَ قَالَ

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

ahmad:10836Muḥammad b. ʿUbayd > Muḥammad / Ibn ʿAmr > Abū Salamah > Abū Hurayrah

[Machine] The Prophet Muhammad ﷺ passed by a funeral, and they spoke very highly of the deceased, praising their good qualities. The Prophet ﷺ said, "It is obligatory, for you are witnesses of Allah on earth." Then he passed by another funeral, and they spoke ill of the deceased.  

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

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

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: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.'"  

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

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

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

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)  

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

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

nasai-kubra:2071Muḥ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."' (Using translation from Nasāʾī 1933)  

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

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

bayhaqi:20389Abū al-Ḥasan ʿAlī b. Muḥammad al-Muqriʾ > al-Ḥasan b. Muḥammad b. Isḥāq > Yūsuf b. Yaʿqūb al-Qāḍī > Abū al-Rabīʿ And Musaddad Wa-al-Lafẓ Limusaddad > Ḥ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:20910[Chain 1] Abū ʿAmr Muḥammad b. ʿAbdullāh al-Bisṭāmī > Abū Bakr al-Ismāʿīlī > Abū Yaʿlá > Abū al-Rabīʿ > Ḥammād > Thābit [Chain 2] Abū Bakr al-Ismāʿīlī > Abū Bakr al-Marwazī > Khalaf b. Hishām > Ḥammād > Thābit

[Machine] Anas passed by the Prophet ﷺ during a funeral and praised it. The Prophet ﷺ said, "It is due." He passed by another funeral and spoke ill of it. The Prophet ﷺ said, "It is also due." It was said, "O Messenger of Allah, you said 'due' for that one and for this one." The Prophet ﷺ said, "The testimony of the faithful people is the testimony of Allah on earth."  

البيهقي:٢٠٩١٠أَخْبَرَنَا أَبُو عَمْرٍو مُحَمَّدُ بْنُ عَبْدِ اللهِ الْبِسْطَامِيُّ أنبأ أَبُو بَكْرٍ الْإِسْمَاعِيلِيُّ أَخْبَرَنِي أَبُو يَعْلَى ثنا أَبُو الرَّبِيعِ ثنا حَمَّادٌ ثنا ثَابِتٌ ح قَالَ وَأَخْبَرَنَا أَبُو بَكْرٍ الْإِسْمَاعِيلِيُّ أنبأ أَبُو بَكْرٍ الْمَرْوَزِيُّ ثنا خَلَفُ بْنُ هِشَامٍ ثنا حَمَّادٌ عَنْ ثَابِتٍ

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

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ أَبِي الرَّبِيعِ وَرَوَاهُ الْبُخَارِيُّ عَنْ سُلَيْمَانَ بْنِ حَرْبٍ عَنْ حَمَّادِ بْنِ زَيْدٍ وَرَوَيْنَا فِيمَا مَضَى عَنِ النَّبِيِّ ﷺ أَنَّهُ قَالَ إِنَّمَا الدِّينُ النَّصِيحَةُ