The Prophet ﷺ was attending a funeral when Umar saw a woman and shouted at her. The Prophet ﷺ said, "Leave her alone, Umar, for the eye sheds tears, the soul is stricken, and the loss is recent."Abu Bakr bin Abu Shayba narrated to us, Affan narrated to us, from Hammad bin Salama, from Hisham bin Urwa, from Wahb bin Kaysan, from Muhammad bin Amr bin Ata, from Salama bin Azraq, from Abu Hurairah, from the Prophet ﷺ, a similar report.
حدثنا أبو بكر بن أبي شيبة وعلي بن محمد قالا حدثنا وكيع عن هشام بن عروة عن وهب بن كيسان عن محمد بن عمرو بن عطاء
أن النبي ﷺ كان في جنازة فرأى عمر امرأة فصاح بها فقال النبي ﷺ دعها يا عمر فإن العين دامعة والنفس مصابة والعهد قريب حدثنا أبو بكر بن أبي شيبة حدثنا عفان عن حماد بن سلمة عن هشام بن عروة عن وهب بن كيسان عن محمد بن عمرو بن عطاء عن سلمة بن الأزرق عن أبي هريرة عن النبي ﷺ بنحوه
[Its chain is daif]. Nasai transmitted it, 19/4, Funerals, chapter on the permission for weeping over the deceased, no. 1859, from the hadith of Muhammad bin Amr, from Salama, with the same wording.Salama is mastur, I did not find anyone who deemed him trustworthy. Sindi said, "Al-Hafiz said in Fath al-Bari, 'Its narrators are trustworthy.'"