Abdullah bin Amr bin As reported,

The Prophet ﷺ recited the words of Allah عز وجل concerning Ibrahim, "My Lord, they have led astray many among mankind. So whoever follows me, he is of me" [Ibrahim 14:36]. He then raised his hands and said, "O Allah, my ummah, my ummah," and he wept.Allah عز وجل said, "Jibreel, go to Muhammad," though your Lord knows best, "and ask him what makes him weep."Jibreel عليه السلام came to him and asked him, and the Messenger of Allah ﷺ told him what he had said, though Allah knows best.Allah said, "Jibreel, go to Muhammad and say, 'We shall please you concerning your ummah and shall not grieve you.'"

Azami 888

Sahih

عن عبد الله بن عمرو بن العاص

أن النبي ﷺ تلا قوله عز وجل في إبراهيم: {رب إنهن أضللن كثيرا من الناس فمن تبعني فإنه مني} [سورة إبراهيم: ٣٦]، فرفع يديه وقال: اللهم أمتي أمتي وبكى. فقال الله عز وجل: يا جبريل، اذهب إلى محمد- وربك أعلم- فسله ما يبكيك؟ فأتاه جبريل عليه السلام، فسأله، فأخبره رسول الله ﷺ بما قال- وهو أعلم- فقال الله: يا جبريل، اذهب إلى محمد فقل: إنا سنرضيك في أمتك ولا نسوءك.

الأعظمي 888صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in the intercession of the Prophet ﷺ and others
Section
Intercession of the Prophet ﷺ for the people of the standing
Numbering
Jami al-Kamil 888 (2nd edition)
Azami 888