Abu Hurairah reported,

He heard the Messenger of Allah ﷺ say, "O Allah, whichever believing servant I have insulted, make that a means of drawing him closer to You on the Day of Resurrection."

Muslim 6623

Sahih

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

عن أبي هريرة

أنه سمع رسول الله ﷺ يقول اللهم فأيما عبد مؤمن سببته فاجعل ذلك له قربة إليك يوم القيامة

مسلم 6623صحيح
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 6623
Muslim 6623