There passed a bier (being carried by people) and it was lauded in good terms. Upon this the Messenger of Allah ﷺ said: It has become certain, it has become certain, it has become certain. And there passed a bier and it was condemned in bad words. Upon this the Messenger of Allah ﷺ said: It has become certain, it has become certain, it has become certain. 'Umar said: May my father and mother be ransom for you! There passed a bier and it was praised in good terms, and you said: It has become certain, it has become certain, it has become certain. And there passed a bier and it was condemned in bad words, and you said: It has become certain, it has become certain, it has become certain. Upon this the Messenger of Allah (way peace be upon him) said: He whom you praised in good terms, Paradise has become certain for him, and he whom you condemned in bad words, Hell has become certain for him. You are Allah's witnesses in the earth, you are Allah's witnesses in the earth, you are Allah's witnesses in the earth. (Using translation from Muslim 949a)
النَّبِيُّ ﷺ وَجَبَتْ وَجَبَتْ وَجَبَتْ وَمَر بِجَنَازَةٍ فَأُثْنِي عَلَيْهَا شَرًّا فَقَالَ نَّبِيُّ اللهِ ﷺ وَجَبَتْ وَجَبَتْ وَجَبَتْ فَقَالَ عُمَرُ فِدَاكَ أَبِي وَأُمِّي مُرَّ بِجَنَازَةٍ فَأُثْنِيَ عَلَيْهَا خَيْرًا فَقُلْتَ وَجَبَتْ وَجَبَتْ وَجَبَتْ وَمُرَّ بِجَنَازَةٍ فَأُثْنِيَ عَلَيْهَا شَرًّا فَقُلْتَ وَجَبَتْ وَجَبَتْ وَجَبَتْ فَقَالَ مَنْ أَثْنَيْتُمْ عَلَيْهِ خَيْرًا وَجَبَتْ لَهُ الْجَنَّةُ وَمَنْ أَثْنَيْتُمْ عَلَيْهِ شَرًّا وَجَبَتْ لَهُ النَّارُ أَنْتُمْ شُهَدَاءُ اللهِ فِي الْأَرْضِ أَنْتُمْ شُهَدَاءُ اللهِ فِي الْأَرْضِ أَنْتُمْ شُهَدَاءُ اللهِ فِي الْأَرْضِ