Sayyiduna Abu Hurairah (may Allah be pleased with him) narrated: A man passed away and his good qualities were mentioned, so the Messenger of Allah (peace and blessings be upon him) said: "It has become obligatory." Then another man passed away and his bad qualities were mentioned, so the Messenger of Allah (peace and blessings be upon him) said: "It has become obligatory." Some people were surprised at this and asked: O Messenger of Allah! What has become obligatory? The Messenger of Allah (peace and blessings be upon him) said: "You are witnesses over one another."
Hadith Referenceمسند اسحاق بن راهويه / كتاب الجنائز / 254
Hadith Takhrij«بخاري ، كتاب الجنائز ، باب ثناء الناس على الميت ، رقم : 1367 . مسلم ، كتاب الجنائز ، باب فيمن يثني عليه خيرا الخ ، رقم : 949 . سنن ابوداود ، رقم : 3233 . سنن ترمذي ، رقم : 1058 .»
Sayyiduna Anas bin Malik (may Allah be pleased with him) narrated from the Messenger of Allah (peace and blessings be upon him), he said: "Whoever passes away and his two close neighbors testify regarding him, saying: O Allah! We know only good about him, then Allah, the Mighty and Majestic, says to the angels: I make you witnesses that I have forgiven My servant because of the testimony of these two men, and I have pardoned him for the things about which they do not know."
Hadith Referenceمسند اسحاق بن راهويه / كتاب الجنائز / 255
Hadith Takhrij«مسند احمد : 384/2 . قال شعيب الارناوط ، اسناده ضعيف .»