It wasnarrated from Abu Hurairah that the Prophet (ﷺ) wasattending afuneral. 'Umar saw a woman and shouted at her, but theProphet(ﷺ) said, "Leave her alone, O 'Umar, for the eye weeps andtheheart is afflicted, and the bereavement is recent." (ES)
English reference (ES): Vol. 1, Book 6, Hadith 1587 (ES)
Arabic reference (ES): Book 6, Hadith 1654 (ES)