This verse was revealed concerning us. When the Messenger of Allah ﷺ arrived in Medina, every one of us had two or three names. Whenever he would call a man by one of his names, we would say, "Messenger of Allah, he gets angry at being called that." So Allah revealed, "And do not insult one another with nicknames. Wretched is the name of disobedience after faith. And whoever does not repent, then it is those who are the wrongdoers" [Hujurat 49:11].
فينا نزلت الآية، قدم رسول الله ﷺ المدينة وما منا رجل إلا له اسمان أو ثلاثة، كان إذا دعا الرجل بالاسم، قلنا: يا رسول الله! انه يغضب من هذا، فأنزلت: {ولا تنابزوا بالألقاب بئس الاسم الفسوق بعد الإيمان ومن لم يتب فأولئك هم الظالمون}
Reported by Abu Dawud (4962), Tirmidhi (3268), and Ibn Majah (3741), and Ibn Hibban (5709) and Hakim (2/463) graded it sahih, all of them through Dawud bin Abu Hind, who said, I heard Amir Shaybi narrating from Abu Jubayrah bin Dahhak, who said, and he mentioned it.Its chain of transmission is sahih. Tirmidhi said, "This is a hasan sahih hadith."