Abu Jubayra bin Dahhak reported,

This verse was revealed about us, the tribe of Banu Salama, "and do not insult one another with nicknames. How wretched is a name of wickedness after faith" [Hujurat 49:11].He said, "The Messenger of Allah ﷺ came to us, and there was not a man among us who did not have two or three names. The Prophet ﷺ would call out, 'So-and-so!' and the people would say, 'Stop, Messenger of Allah, he becomes angry at that name.' So this verse was revealed, "and do not insult one another with nicknames."

Azami 14541

Sahih

عن أبي جبيرة بن الضحاك قال

فينا نزلت هذه الآية في بني سلمة: {ولا تنابزوا بالألقاب بئس الاسم الفسوق بعد الإيمان} [الحجرات: ١١] قال: قدم علينا رسول الله ﷺ له وليس منا رجل إلا وله اسمان أو ثلاثة، فجعل النبي ﷺ يقول: يا فلان فيقولون: مه يا رسول الله، إنه يغضب من هذا الاسم، فأنزلت هذه الآية: {ولا تنابزوا بالألقب}

الأعظمي 14541صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Names, kunyas, and titles
Section
Prohibition of calling one another by offensive nicknames
Numbering
Jami al-Kamil 14541 (2nd edition)
Azami 14541