(3) بَاب اسْتِحْبَابِ تَغْيِيرِ الِاسْمِ الْقَبِيحِ إِلَى حَسَنٍ وَتَغْيِيرِ اسْمِ بَرَّةَ إِلَى زَيْنَبَ وَجُوَيْرِيَةَ وَنَحْوِهِمَا
Zainab, daughter of Umm Salama, reported:
My name first was Barra. Allah's Messenger (ﷺ) gave me the name of Zainab. Then there entered (into the house of Allah's Prophet as a wife) Zainab, daughter of Jahsh, and her name was also Barra, and he gave her the name of Zainab.
Reference: Sahih Muslim 2142 a
In-book reference: Book 38, Hadith 23
USC-MSA web (English) reference(deprecated numbering scheme): Book 25, Hadith 5336