كتاب الآداب
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 2146 b

Asma' reported that she had become pregnant at Mecca with Abdullah b. Zubair (in her womt) and she (further) said:

I set out (for migration to Medina) as I was in the advanced stage of pregnancy. I came to Medina and got down at the place known as Quba' and gave birth to a child there. Then I came to Allah's Messenger (may peace he upon him). He placed him (the child) in his lap and then commanded for the dates to be brought. He chewed them and then put the saliva in his mouth. The first thing which went into his stomach was the saliva of Allah's Messenger (ﷺ). He then rubbed his palate with dates and then invoked blessings for him and blessed him. He was the first child who was born in Islam (after Migration).
حَدَّثَنَا أَبُو كُرَيْبٍ، مُحَمَّدُ بْنُ الْعَلاَءِ حَدَّثَنَا أَبُو أُسَامَةَ، عَنْ هِشَامٍ، عَنْ أَبِيهِ، عَنْ أَسْمَاءَ، أَنَّهَا حَمَلَتْ بِعَبْدِ اللَّهِ بْنِ الزُّبَيْرِ بِمَكَّةَ قَالَتْ فَخَرَجْتُ وَأَنَا مُتِمٌّ، فَأَتَيْتُ الْمَدِينَةَ فَنَزَلْتُ بِقُبَاءٍ فَوَلَدْتُهُ بِقُبَاءٍ ثُمَّ أَتَيْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم فَوَضَعَهُ فِي حَجْرِهِ ثُمَّ دَعَا بِتَمْرَةٍ فَمَضَغَهَا ثُمَّ تَفَلَ فِي فِيهِ فَكَانَ أَوَّلَ شَىْءٍ دَخَلَ جَوْفَهُ رِيقُ رَسُولِ اللَّهِ صلى الله عليه وسلم ثُمَّ حَنَّكَهُ بِالتَّمْرَةِ ثُمَّ دَعَا لَهُ وَبَرَّكَ عَلَيْهِ وَكَانَ أَوَّلَ مَوْلُودٍ وُلِدَ فِي الإِسْلاَمِ ‏.‏
Reference : Sahih Muslim 2146 b
In-book reference : Book 38, Hadith 32
USC-MSA web (English) reference : Book 25, Hadith 5345
  (deprecated numbering scheme)