عَنْ أَنَسِ بْنِ مَالِكَ رَضِيَ اللَّهُ عَنْهُ قَالَ: مَرُّوا بِجَنَازَةٍ فَأَثْنَوْا عَلَيْهَا خَيْرًا، فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ: ((وَجَبَتْ، وَجَبَتْ، وَجَبَتْ))، وَمَرُّوا بِجَنَازَةٍ فَأَثْنَوْا عَلَيْهَا شَرًّا، فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ: ((وَجَبَتْ، وَجَبَتْ، وَجَبَتْ))، فَقَالَ عُمَرُ رَضِيَ اللَّهُ عَنْهُ: فِدَاكَ أَبِي وَأُمِّي مُرَّ بِجَنَازَةٍ فَأُثْنِيَ عَلَيْهَا خَيْرًا، فَقُلْتُ: ((وَجَبَتْ، وَجَبَتْ، وَجَبَتْ))، وَمُرَّ بِجَنَازَةٍ فَأُثْنِيَ عَلَيْهَا شَرًّا فَقُلْتَ: ((وَجَبَتْ وَجَبَتْ وَجَبَتْ))، فَقَالَ: ((مَنْ أَثْنَيْتُمْ عَلَيْهِ خَيْرًا، وَجَبَتْ لَهُ الْجَنَّةُ، وَمَنْ أَثْنَيْتُمْ عَلَيْهِ شَرًّا وَجَبَتْ لَهُ النَّارُ، أَنْتُمْ شُهَدَاءُ اللَّهِ فِي الْأَرْضِ، أَنْتُمْ شُهَدَاءُ اللَّهِ فِي الْأَرْضِ، أَنْتُمْ شُهَدَاءُ اللَّهِ فِي الْأَرْضِ))
Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates that people passed by with a funeral, and the people spoke good words about the deceased. Upon hearing this, the Noble Prophet (peace and blessings be upon him) said: "It has become obligatory, it has become obligatory, it has become obligatory." Then people passed by with another funeral, and the people spoke ill of the deceased. The Prophet (peace and blessings be upon him) said: "It has become obligatory, it has become obligatory, it has become obligatory." Sayyiduna Umar (may Allah be pleased with him) said: "May my parents be sacrificed for you! When one funeral passed by and people spoke words of praise about him, you (peace and blessings be upon him) said: 'It has become obligatory, it has become obligatory, it has become obligatory.' And when another funeral passed by and people spoke ill of him, you (peace and blessings be upon him) again said: 'It has become obligatory, it has become obligatory, it has become obligatory.'" The Prophet (peace and blessings be upon him) (explaining) said: "For the one about whom you spoke good words, Paradise has become obligatory for him, and for the one about whom you spoke bad words, Hell has become obligatory for him. In reality, you are Allah's witnesses on earth, you are Allah's witnesses on earth, you are Allah's witnesses on earth."