People with a bier passed by the Messenger of Allah ﷺ. They (the companions) spoke highly of him. He said: Paradise is certain for him. Then some people with another (bier) passed by him. They spoke very badly of him. He said: Hell is certain for him. He then said: Some of you are witness to others. (Using translation from Abū Dāʾūd 3233)
مَرُّوا عَلَى النَّبِيِّ ﷺ بِجِنَازَةٍ فَأَثْنَوْا عَلَيْهَا خَيْرًا فَقَالَ وَجَبَتْ ثُمَّ مَرُّوا عَلَيْهِ بِجِنَازَةٍ فَأَثْنَوْا عَلَيْهَا شَرًّا فَقَالَ وَجَبَتْ فَقَالُوا يَا رَسُولَ اللهِ مَا وَجَبَتْ؟ وَجَبَتْ؟ قَالَ بَعْضُكُمْ شُهَدَاءُ عَلَى بَعْضٍ