(2) باب كَرَاهَةِ التَّسْمِيَةِ بِالأَسْمَاءِ الْقَبِيحَةِ وَبِنَافِعٍ وَنَحْوِهِ .
Jabir b. 'Abdullah reported:
Allah's Messenger (ﷺ) decided to forbid (his followers) to name persons as Ya'la (Elevated), Baraka (Blessing), Aflah (Successful), Yasar and Nafi', but I saw that he kept silent after that and he did not say anything until Allah's Messenger (ﷺ) died. And he did not forbid (his followers to do this), then 'Umar decided to prohibit (people) from giving these names, but later on gave up the idea.
Reference: Sahih Muslim 2138
In-book reference: Book 38, Hadith 18
USC-MSA web (English) reference(deprecated numbering scheme): Book 25, Hadith 5331