Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates: The Prophet Muhammad (peace and blessings be upon him) said: "Whenever a Muslim passes away and four members from among his close neighbors testify regarding him that they know only good about him, then Allah Almighty says: I have accepted your knowledge about this person, and I have forgiven those things of his which you do not know."
Hadith Referenceصحیح ابن حبان / كتاب الجنائز وما يتعلق بها مقدما أو مؤخرا / 3026
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «أحكام الجنائز».فضيلة الشيخ العلّامة شُعيب الأرناؤوطحديث صحيح بشواهده