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:12837Yaḥyá b. Saʿīd > Ḥumayd > Anas

[Machine] A funeral passed by the Prophet (PBUH) and it was said to be good, and tongues followed it with good. The Prophet (PBUH) said, "It is guaranteed." Then another funeral passed by and they said it was evil, and tongues followed it with evil. The Prophet (PBUH) said, "You are witnesses for Allah on earth."  

أحمد:١٢٨٣٧حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ عَنْ حُمَيْدٍ عَنْ أَنَسٍ

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


See similar narrations below:

Collected by Suyūṭī
suyuti:651-466bAbū Hurayrah
Request/Fix translation

  

السيوطي:٦٥١-٤٦٦b

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

[ز] البزّار في سننه