Samura bin Jundab reported,

The Messenger of Allah ﷺ said, "The most beloved words to Allah are four: Glory be to Allah, praise be to Allah, there is no god but Allah, and Allah is greatest. It does not matter which of them you begin with. And do not name your servant boy Yasar, nor Rabah, nor Najih, nor Aflah, for you will ask, 'Is he there?' and he will not be there, so the answer will be, 'No.' They are only four, so do not add any more on my authority."This is Zuhayr's wording. As for the narration of Jareer and Rawh, it is like Zuhayr's narration, including the account itself. As for Shuba's narration, it contains only the mention of naming the boy and does not mention the four words.

Muslim 5602

Sahih

و حدثنا إسحق بن إبراهيم أخبرني جرير ح و حدثني أمية بن بسطام حدثنا يزيد بن زريع حدثنا روح وهو ابن القاسم ح و حدثنا محمد بن المثنى وابن بشار قالا حدثنا محمد بن جعفر حدثنا شعبة كلهم عن منصور بإسناد زهير فأما حديث جرير وروح فكمثل حديث زهير بقصته وأما حديث شعبة فليس فيه إلا ذكر تسمية الغلام ولم يذكر الكلام الأربع

مسلم 5602صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Etiquette
Chapter
Dislike of naming with ugly names and with Nafi and the like
Numbering
Darussalam 5602
Muslim 5602