Hadith 13203

(حديث مرفوع) حَدَّثَنَا عَبْدُ الصَّمَدِ ، حَدَّثَنَا سُلَيْمَانُ ، حَدَّثَنَا ثَابِتٌ ، عَنْ أَنَسٍ ، قَالَ : مُرَّ عَلَى النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِجِنَازَةٍ ، فَأُثْنِيَ عَلَيْهَا خَيْرًا ، فَقَالَ : " وَجَبَتْ " وَمُرَّ بِجِنَازَةٍ فَأُثْنِيَ عَلَيْهَا شَرًّا ، فَقَالَ : " وَجَبَتْ " .
It is narrated from Hazrat Anas (may Allah be pleased with him) that a funeral passed by in front of the Prophet (peace and blessings be upon him), and the people praised it. The Prophet (peace and blessings be upon him) said, "It has become obligatory." Then another funeral passed by and the people criticized it. The Prophet (peace and blessings be upon him) said, "It has become obligatory."
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 13203
Hadith Grading حکم دارالسلام: إسناده صحيح، خ: 2642 م: 949