Sunan Abi Dawud, Hadith 4935

Muhammad b. ‘Amr b. ‘Ata said : Zainab daughter of Abu Salamah asked him: Which name did you give to your daughter? He replied : Barrah. She said: The Messenger of Allah (May peace be upon him) forbade giving this name. I was called Barrah but the Prophet (May peace be upon him) said: Do not declare yourselves pure, for Allah knows best those of you who are obedient. He said: we asked; which name should we give her? He replied: Call her Zainab.

حَدَّثَنَا عِيسَى بْنُ حَمَّادٍ، أَخْبَرَنَا اللَّيْثُ، عَنْ يَزِيدَ بْنِ أَبِي حَبِيبٍ، عَنْ مُحَمَّدِ بْنِ إِسْحَاقَ، عَنْ مُحَمَّدِ بْنِ عَمْرِو بْنِ عَطَاءٍ، أَنَّ زَيْنَبَ بِنْتَ أَبِي سَلَمَةَ، سَأَلَتْهُ مَا سَمَّيْتَ ابْنَتَكَ قَالَ سَمَّيْتُهَا بَرَّةَ فَقَالَتْ إِنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَى عَنْ هَذَا الاِسْمِ سُمِّيتُ بَرَّةَ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ لاَ تُزَكُّوا أَنْفُسَكُمُ اللَّهُ أَعْلَمُ بِأَهْلِ الْبِرِّ مِنْكُمْ ‏"‏ ‏.‏ فَقَالَ مَا نُسَمِّيهَا قَالَ ‏"‏ سَمُّوهَا زَيْنَبَ ‏"‏ ‏.‏

sunnah.com

also referenced under: Hadith 4953 (DarusSalam)