Sayyiduna Abu Hurayrah reports from the Prophet (peace and blessings be upon him), from his Lord: "Any Muslim servant who dies and the members of three households from among his nearest neighbours bear witness to good in his favour, Allah Almighty says: 'I have accepted the testimony of My servants according to what they know, and I have forgiven him for what I know.'" (Allamah al-Haythami says:) I say: A hadith from Sayyiduna Abu Hurayrah (may Allah be pleased with him) is transmitted in the Sahih, but it is other than this one.
Imam Ahmad recorded it. Its chain contains a narrator who has not been named.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الجنائز / 3961