Harith bin Qays reported,

I went with the Messenger of Allah ﷺ to visit a dying man from the Ansar, and his family was weeping. I said, "Are you weeping while the Messenger of Allah ﷺ is here?"The Messenger of Allah ﷺ said, "Let them weep as long as he is still among them. But once it has become certain, let them not weep."Jabr said, I related this to Umar bin Humayd al-Qurashi, and he asked me, "What does 'become certain' mean?"He replied, "When he is placed in his grave."

Ahmad 23751

Sahih

حدثنا أبو نعيم حدثنا إسرائيل عن عبد الله بن عيسى

عن جبر بن عتيك عن عمه قال

دخلت مع رسول الله ﷺ على ميت من الأنصار وأهله يبكون فقلت أتبكون وهذا رسول الله ﷺ فقال رسول الله ﷺ دعهن يبكين ما دام عندهن فإذا وجبت فلا يبكين فقال جبر فحدثت به عمر بن حميد القرشي فقال لي ماذا وجبت قال إذا أدخل قبره

أحمد 23751صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Jabir bin Ateek
Numbering
Darussalam 23751
Ahmad 23751