Jabir bin '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.
Hadith Commentary: Benefits and Issues: The Messenger of Allah (sallallahu alayhi wa sallam) forbade these names while observing etiquette and respect. Then, from a legal and jurisprudential perspective, he intended to prohibit them. However, this intention was not put into practice, nor was a definitive order issued to prohibit them, until he departed from this transient world.
Source: Tuhfat al-Muslim: Commentary on Sahih Muslim, Page: 5603
Narrated Jabir ibn Abdullah: The Prophet ﷺ said: If I survive (God willing), I shall forbid my people to give the names Nafi (beneficial), Aflah (successful) and Barakah (blessing). Al-Amash said: I do not know whether he mentioned Nafi or not. When a man comes and asks: Is there Barakah (blessing)? The people say: No. Abu Dawud said: A similar tradition has been transmitted by Abu al-Zubair on the authority of Jabir from the Prophet ﷺ through a different chain of narrators. This version has no mention of Barakah.
Shaykh Umar Farooq Saeedi
Benefits and Issues: One should specifically avoid the aforementioned names. And it is mentioned in Sahih Muslim that later the Prophet (sallallahu alayhi wa sallam) remained silent about this. (Sahih Muslim, Al-Adab, Chapter: Dislike of Naming with Certain Names and with Nafi’ and the Like, Hadith: 2138)
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 4960