Anas bin Malik reported,

There was an orphan girl in the care of Umm Sulaym, who was the mother of Anas. The Messenger of Allah ﷺ saw the orphan girl and said, "Is that you? You have grown up. May your years not increase."The orphan girl returned to Umm Sulaym in tears. Umm Sulaym asked, "What is the matter, my dear?"The Jariya replied, "The Prophet of Allah ﷺ supplicated against me that my years not increase. Now my years will never increase," or she said, "my lifespan."Umm Sulaym hurried out, fastening her head-covering as she went, until she met the Messenger of Allah ﷺ.The Messenger of Allah ﷺ said to her, "What is the matter, Umm Sulaym?"She said, "Prophet of Allah, did you supplicate against my orphan girl?"He asked, "What do you mean, Umm Sulaym?"She said, "She claims you supplicated that her years not increase and her lifespan not be extended."The Messenger of Allah ﷺ laughed, then said, "Umm Sulaym, do you not know the condition I have made with my Lord? I stipulated with my Lord, saying, 'I am only a human being. I am pleased as humans are pleased, and I become angry as humans become angry. So whenever I supplicate against any of my Ummah with a supplication they do not deserve, make it for them a purification, a means of growth, and a closeness by which You bring them near to You on the Day of Resurrection.'"Abu Maan said, "Yutayyimah" in the diminutive form, in all three places in the hadith.

Muslim 6627

Sahih

حدثني زهير بن حرب وأبو معن الرقاشي واللفظ لزهير قالا حدثنا عمر بن يونس حدثنا عكرمة بن عمار حدثنا إسحق بن أبي طلحة

حدثني أنس بن مالك قال

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

مسلم 6627صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Righteousness, maintaining ties, and good manners
Chapter
Whoever the Prophet ﷺ cursed, reviled, or supplicated against
Numbering
Darussalam 6627
Muslim 6627