“We were with the Messenger of Allah (ﷺ) at a funeral, and he sat at the edge of the grave weeping, until the ground became wet. Then he said: ‘O my brothers, prepare yourselves for something like this.’”
Sunan Ibn Majah Book 37, Hadith 96