It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: If a Muslim servant passes away and three close neighbors testify to his goodness, Allah says: I have accepted the testimony of My servants according to their knowledge, and according to My knowledge, what I knew I have concealed and forgiven him.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 9295