Hadith 12837

(حديث مرفوع) حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ ، عَنْ حُمَيْدٍ ، عَنْ أَنَسٍ ، أَنَّ جَنَازَةً مَرَّتْ بِالنَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقِيلَ لَهَا خَيْرًا ، وَتَتَابَعَتْ الْأَلْسُنُ لَهَا بِالْخَيْرِ ، فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " وَجَبَتْ " ثُمَّ مَرَّتْ جَنَازَةٌ أُخْرَى فَقَالُوا لَهَا شَرًّا ، وَتَتَابَعَتْ الْأَلْسُنُ لَهَا بِالشَّرِّ ، فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " وَجَبَتْ ، أَنْتُمْ شُهَدَاءُ اللَّهِ فِي الْأَرْضِ " .
It is narrated from Hazrat Anas (may Allah be pleased with him) that a funeral passed in front of the Prophet (peace and blessings be upon him). Someone praised the deceased, then several people praised him. The Prophet (peace and blessings be upon him) said, "It has become obligatory." Then another funeral passed and people criticized the deceased, and seeing them, many others also criticized him. The Prophet (peace and blessings be upon him) said, "It has become obligatory. You are Allah's witnesses on earth."
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 12837
Hadith Grading حکم دارالسلام: إسناده صحيح، خ: 1367، م: 949