Asma bint Yazid reported,

When Ibrahim, the son of the Messenger of Allah ﷺ, passed away, the Messenger of Allah ﷺ wept. The one offering condolences, either Abu Bakr or Umar, said to him, "You are the most deserving of all people to honor the right of Allah."The Messenger of Allah ﷺ replied, "The eye sheds tears and the heart grieves, but we do not say anything that angers the Lord. Were it not that this is a true promise, an appointed gathering, and that the one who remains will follow the one who has gone before, we would grieve for you, Ibrahim, with a grief greater than this. Indeed, we are saddened by your loss."

Ibn Majah 1589

Hasan

حدثنا سويد بن سعيد حدثنا يحيى بن سليم عن ابن خثيم عن شهر بن حوشب

عن أسماء بنت يزيد قالت

لما توفي ابن رسول الله ﷺ إبراهيم بكى رسول الله ﷺ فقال له المعزي إما أبو بكر وإما عمر أنت أحق من عظم الله حقه قال رسول الله ﷺ تدمع العين ويحزن القلب ولا نقول ما يسخط الرب لولا أنه وعد صادق وموعود جامع وأن الآخر تابع للأول لوجدنا عليك يا إبراهيم أفضل مما وجدنا وإنا بك لمحزونون

ابن ماجه 1589حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Funerals
Chapter
Weeping over the deceased
Numbering
Darussalam 1589
Ibn Majah 1589