كتاب الآداب
38  
The Book of Manners and Etiquette
(5)
Chapter: It Is Recommended To Perform Tahnik For The Newborn When He Is Born And To Take Him To A Righteous Man To Perform Tahnik For Him; It Is Permissible To Name Him On The Day He Is Born, And It Is Recommended To Use The Names 'Abdullah, Ibrahim, And The Names Of All Other Prophets, Peace Be Upon Them
(5)
بَاب اسْتِحْبَابِ تَحْنِيكِ الْمَوْلُودِ عِنْدَ وِلَادَتِهِ وَحَمْلِهِ إِلَى صَالِحٍ يُحَنِّكُهُ وَجَوَازِ تَسْمِيَتِهِ يَوْمَ وِلَادَتِهِ وَاسْتِحْبَابِ التَّسْمِيَةِ بِعَبْدِ اللَّهِ وَإِبْرَاهِيمَ وَسَائِرِ أَسْمَاءِ الْأَنْبِيَاءِ عَلَيْهِمْ السَّلَام
Sahih Muslim 2150

Anas b. Malik reported that Allah's Messenger (ﷺ) had the sublimest character among mankind. I had a brother who was called Abu 'Umair. I think he was weaned. When Allah's Messenger (may peace he upon him) came to our house he saw him, and said:

Abu 'Umair, what has the sparrow done? He (Anas) said that he had been playing with that.
حَدَّثَنَا أَبُو الرَّبِيعِ، سُلَيْمَانُ بْنُ دَاوُدَ الْعَتَكِيُّ حَدَّثَنَا عَبْدُ الْوَارِثِ، حَدَّثَنَا أَبُو التَّيَّاحِ، حَدَّثَنَا أَنَسُ بْنُ مَالِكٍ، ح

وَحَدَّثَنَا شَيْبَانُ بْنُ فَرُّوخَ، - وَاللَّفْظُ لَهُ - حَدَّثَنَا عَبْدُ الْوَارِثِ، عَنْ أَبِي التَّيَّاحِ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم أَحْسَنَ النَّاسِ خُلُقًا وَكَانَ لِي أَخٌ يُقَالُ لَهُ أَبُو عُمَيْرٍ - قَالَ أَحْسِبُهُ قَالَ - كَانَ فَطِيمًا - قَالَ - فَكَانَ إِذَا جَاءَ رَسُولُ اللَّهِ صلى الله عليه وسلم فَرَآهُ قَالَ ‏ "‏ أَبَا عُمَيْرٍ مَا فَعَلَ النُّغَيْرُ ‏"‏ ‏.‏ قَالَ فَكَانَ يَلْعَبُ بِهِ ‏.‏

Reference : Sahih Muslim 2150
In-book reference : Book 38, Hadith 37
USC-MSA web (English) reference : Book 25, Hadith 5350
  (deprecated numbering scheme)