It wasnarrated that Bara' said:
"We were with the Messenger of Allah(ﷺ) at a funeral, and he sat at the edge of the grave weeping,untilthe ground became wet. Then he said: 'O my brothers, prepareyourselves for something like this.'" (JA)
English reference (JA): Vol. 5, Book 37, Hadith 4195 (JA)
Arabic reference (JA): Book 37, Hadith 4335 (JA)