The Prophet ﷺ said, "There is no Muslim who dies and three households of his nearest neighbors testify on his behalf with good, except that Allah says, 'I have accepted the testimony of My servants concerning what they know, and I have forgiven him for what I know.'"
حدثنا عفان قال حدثنا مهدي بن ميمون قال حدثنا عبد الحميد صاحب الزيادي عن شيخ من أهل العلم
أن النبي ﷺ قال ما من مسلم يموت فيشهد له ثلاثة أهل أبيات من جيرانه الأدنين بخير إلا قال تبارك وتعالى قد قبلت شهادة عبادي على ما علموا وغفرت له ما أعلم
Its chain of transmission is daif, it contains a narrator who is not named, and likewise it occurred earlier at 8968 from a shaykh from Abu Hurairah, and it will come again at 13475. The text itself is sahih, Tirmidhi narrated it with similar wording in volume 3, page 364, number 1059, in the book of funerals, chapter on good praise for the deceased. It is corroborated by the hadith in Bukhari, "Any Muslim for whom four people testify to good, Allah will admit him to Paradise," Fath al-Bari, volume 3, page 229, number 1368.