كتاب الآداب
38  
The Book of Manners and Etiquette
(3)
Chapter: It Is Recommended To Change Bad Names To Good Names, And To Change The Name Barrah To Zainab, Juwayriyah And The Like
(3)
بَاب اسْتِحْبَابِ تَغْيِيرِ الِاسْمِ الْقَبِيحِ إِلَى حَسَنٍ وَتَغْيِيرِ اسْمِ بَرَّةَ إِلَى زَيْنَبَ وَجُوَيْرِيَةَ وَنَحْوِهِمَا
Sahih Muslim 2142 b

Muhammad b. 'Amr b. 'Ata' reported:

I had given the name Barra to my daughter. Zainab, daughter of Abu Salama, told me that Allah's' Messenger (ﷺ) had forbidden me to give this name. (She said): I was also called Barra, but Allah's Messenger (ﷺ) said: Don't hold yourself to be pious. It is God alone who knows the people of piety among you. They (the Companions) said: Then, what name should we give to her? He said: Name her as Zainab.
حَدَّثَنَا عَمْرٌو النَّاقِدُ، حَدَّثَنَا هَاشِمُ بْنُ الْقَاسِمِ، حَدَّثَنَا اللَّيْثُ، عَنْ يَزِيدَ بْنِ أَبِي حَبِيبٍ، عَنْ مُحَمَّدِ بْنِ عَمْرِو بْنِ عَطَاءٍ، قَالَ سَمَّيْتُ ابْنَتِي بَرَّةَ فَقَالَتْ لِي زَيْنَبُ بِنْتُ أَبِي سَلَمَةَ إِنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَى عَنْ هَذَا الاِسْمِ وَسُمِّيتُ بَرَّةَ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ لاَ تُزَكُّوا أَنْفُسَكُمُ اللَّهُ أَعْلَمُ بِأَهْلِ الْبِرِّ مِنْكُمْ ‏"‏ ‏.‏ فَقَالُوا بِمَ نُسَمِّيهَا قَالَ ‏"‏ سَمُّوهَا زَيْنَبَ ‏"‏ ‏.‏
Reference : Sahih Muslim 2142b
In-book reference : Book 38, Hadith 24
USC-MSA web (English) reference : Book 25, Hadith 5337
  (deprecated numbering scheme)