Sahih al-Bukhari 2642
صحيح البخاري#2642SahihNarrated Anas:A funeral procession passed in front of the Prophet (ﷺ) and the people praised the deceased. The Prophet (ﷺ) said, "It has been affirmed (Paradise)." Then another funeral procession passed by and the people talked badly of the deceased. The Prophet (ﷺ) said, "It has been affirmed (Hell)." Allah's Messenger (ﷺ) was asked, "O Allah's Messenger (ﷺ)! You said it has been affirmed for both?" The Prophet (ﷺ) said, "The testimony of the people (is accepted), (for) the believers are Allah's witnesses on the earth
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Every narration in Sahih al-Bukhari is accepted as Sahih (authentic) by the established status of the book.
In-book reference: 52:6