´It was narrated that Abu Hurairah said:` “A funeral passed by the Prophet (ﷺ) and they praised (the deceased) and spoke well of him and mentioned his good characteristics. He said: ‘(Paradise is) guaranteed for him.’ Then another funeral passed by and they spoke badly of him and mentioned his bad characteristics, and he the Prophet (ﷺ) said: ‘(Hell is) guaranteed for him. You are the witnesses of Allah on earth.’”
Hadith Referenceسنن ابن ماجه / كتاب الجنائز / 1492
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:إسناده حسن
´It was narrated that Abu Hurairah said:` "A funeral passed by the Prophet and they praised (the deceased). The Prophet said: 'It is granted.' Then another funeral passed by and they criticized (the deceased). The Prophet said: 'It is granted.' They said: 'O Messenger of Allah, you said in both cases, 'It is granted?' The Prophet said: 'The angels are the witnesses of Allah in heaven, and you are the witnesses of Allah on Earth."'
Hafiz Muhammad Ameen
1935. Commentary: The angels will present the written record of deeds, and the human being will state his experience and account; the judgment will be made on the basis of both.
Source: Sunan Nasa'i: Translation and Benefits by Shaykh Hafiz Muhammad Amin Hafizullah, Page: 1935