Abdullah bin Amr bin As reported,

A man came and said, "Allah, forgive me and Muhammad, and do not let anyone share with us in Your mercy."The Prophet ﷺ asked, "Who said that?"The man replied, "I did."The Prophet ﷺ said, "You have shut them out from many people."

Azami 10917

Sahih

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

أن رجلا جاء فقال: اللهم اغفر لي ولمحمد، ولا تشرك في رحمتك إيانا أحدا فقال النبي ﷺ: من قائلها؟ فقال الرجل: أنا. فقال النبي ﷺ: لقد حجبتهن عن ناس كثير.

الأعظمي 10917صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Rulings on supplication
Section
Disliking that the supplicant limits the Wasi mercy of his Lord in his supplication
Numbering
Jami al-Kamil 10917 (2nd edition)
Azami 10917