Anas bin Malik reported,

We entered with the Messenger of Allah ﷺ upon Abu Sayf the blacksmith, who was the husband of Ibrahim's wet-nurse. The Messenger of Allah ﷺ took Ibrahim, kissed him, and breathed in his scent.Then we entered upon him later, and Ibrahim was breathing his last. The eyes of the Messenger of Allah ﷺ began to overflow with tears.Abdul-Rahman bin Awf رضي الله عنه said to him, "Even you, Messenger of Allah?"He replied, "Ibn Awf, this is mercy."Then more tears followed, and he ﷺ said, "The eye sheds tears and the heart grieves, but we say only what pleases our Lord. And we are indeed saddened by your departure, Ibrahim."Narrated by Musa from Sulayman bin Mughira from Thabit from Anas رضي الله عنه from the Prophet ﷺ.

Bukhari 1303

Sahih

حدثنا الحسن بن عبد العزيز حدثنا يحيى بن حسان حدثنا قريش هو ابن حيان عن ثابت

عن أنس بن مالك رضي الله عنه قال

دخلنا مع رسول الله ﷺ على أبي سيف القين وكان ظئرا لإبراهيم عليه السلام فأخذ رسول الله ﷺ إبراهيم فقبله وشمه ثم دخلنا عليه بعد ذلك وإبراهيم يجود بنفسه فجعلت عينا رسول الله ﷺ تذرفان فقال له عبد الرحمن بن عوف رضي الله عنه وأنت يا رسول الله فقال يا ابن عوف إنها رحمة ثم أتبعها بأخرى فقال ﷺ إن العين تدمع والقلب يحزن ولا نقول إلا ما يرضى ربنا وإنا بفراقك يا إبراهيم لمحزونون رواه موسى عن سليمان بن المغيرة عن ثابت عن أنس رضي الله عنه عن النبي ﷺ

البخاري 1303صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Funerals
Chapter
Saying of the Prophet ﷺ, "We are grieved by your loss"
Numbering
Darussalam 1303
Bukhari 1303