It was revealed about us, the tribe of Banu Salama, "and do not insult one another with nicknames" [Hujurat 49:11].He explained, "When the Messenger of Allah ﷺ came to Madinah, there was not a man among us who did not have two or three names. So whenever one of them was called by one of those names, the people would say, 'Messenger of Allah, he becomes angry at that.'"And so, he said, the verse was revealed, "and do not insult one another with nicknames" [Hujurat 49:11].
حدثنا إسماعيل حدثنا داود بن أبي هند عن الشعبي قال حدثني
فينا نزلت في بني سلمة {ولا تنابزوا بالألقاب} قال قدم رسول الله ﷺ المدينة وليس منا رجل إلا وله اسمان أو ثلاثة فكان إذا دعي أحد منهم باسم من تلك الأسماء قالوا يا رسول الله إنه يغضب من هذا قال فنزلت {ولا تنابزوا بالألقاب}