Language:
كتاب الأدب
78  
Good Manners and Form (Al-Adab)
(18)
Chapter: To be merciful to children and embrace them
(18)
باب رَحْمَةِ الْوَلَدِ وَتَقْبِيلِهِ وَمُعَانَقَتِهِ
Sahih al-Bukhari 5996

Narrated Abu Qatada:

The Prophet (ﷺ) came out towards us, while carrying Umamah, the daughter of Abi Al-As (his granddaughter) over his shoulder. He prayed, and when he wanted to bow, he put her down, and when he stood up, he lifted her up.

حَدَّثَنَا أَبُو الْوَلِيدِ، حَدَّثَنَا اللَّيْثُ، حَدَّثَنَا سَعِيدٌ الْمَقْبُرِيُّ، حَدَّثَنَا عَمْرُو بْنُ سُلَيْمٍ، حَدَّثَنَا أَبُو قَتَادَةَ، قَالَ خَرَجَ عَلَيْنَا النَّبِيُّ صلى الله عليه وسلم وَأُمَامَةُ بِنْتُ أَبِي الْعَاصِ عَلَى عَاتِقِهِ، فَصَلَّى فَإِذَا رَكَعَ وَضَعَهَا، وَإِذَا رَفَعَ رَفَعَهَا‏.‏
Reference : Sahih al-Bukhari 5996
In-book reference : Book 78, Hadith 27
USC-MSA web (English) reference : Vol. 8, Book 73, Hadith 25
  (deprecated numbering scheme)