Muhammad bin Amr bin Ata reported,

I named my daughter Barrah. Zaynab bint Abu Salama said to me, "The Messenger of Allah ﷺ forbade this name. I myself was named Barrah, and the Messenger of Allah ﷺ said, 'Do not declare yourselves pure. Allah knows best who among you are the truly righteous.'"They asked, "What should we name her then?"He said, "Name her Zaynab."

Azami 14510

Sahih

عن محمد بن عمرو بن عطاء، قال

سميت ابنتي برة، فقالت لي زينب بنت أبي سلمة: إن رسول الله ﷺ نهى عن هذا الاسم، وسميت برة، فقال رسول الله ﷺ: لا تزكوا أنفسكم، الله أعلم بأهل البر منكم فقالوا: بم نسميها؟ قال: سموها زينب.

الأعظمي 14510صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Names, kunyas, and titles
Section
Changing a name to a better one
Numbering
Jami al-Kamil 14510 (2nd edition)
Azami 14510