[Machine] In Bani Salimah, the verse "Do not insult one another by using offensive nicknames" [Al-Hujurat 11] was revealed. It is said that when the Messenger of Allah ﷺ arrived in Medina, every man among them had two or three names. So, whenever he called someone by one of those names, they would say, "O Messenger of Allah, he dislikes being called by this name." He ﷺ said, "The verse 'Do not insult one another by using offensive nicknames' was then revealed."
فِينَا نَزَلَتْ فِي بَنِي سَلِمَةَ {وَلَا تَنَابَزُوا بِالْأَلْقَابِ} [الحجرات 11] قَالَ قَدِمَ رَسُولُ اللهِ ﷺ الْمَدِينَةَ وَلَيْسَ مِنَّا رَجُلٌ إِلَّا وَلَهُ اسْمَانِ أَوْ ثَلَاثَةٌ فَكَانَ إِذَا دَعَا أَحَدًا مِنْهُمْ بِاسْمٍ مِنْ تِلْكَ الْأَسْمَاءِ قَالُوا يَا رَسُولَ اللهِ إِنَّهُ يَغْضَبُ مِنْ هَذَا قَالَ فَنَزَلَتْ {وَلَا تَنَابَزُوا بِالْأَلْقَابِ}