Hadithcore
Sahih al-Bukhari, 5996
sahih

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.

حَدَّثَنَا أَبُو الْوَلِيدِ، حَدَّثَنَا اللَّيْثُ، حَدَّثَنَا سَعِيدٌ الْمَقْبُرِيُّ، حَدَّثَنَا عَمْرُو بْنُ سُلَيْمٍ، حَدَّثَنَا أَبُو قَتَادَةَ، قَالَ خَرَجَ عَلَيْنَا النَّبِيُّ صلى الله عليه وسلم وَأُمَامَةُ بِنْتُ أَبِي الْعَاصِ عَلَى عَاتِقِهِ، فَصَلَّى فَإِذَا رَكَعَ وَضَعَهَا، وَإِذَا رَفَعَ رَفَعَهَا‏.‏

References2 variants
In-Book Reference
Book 78, Hadith 27
USC-MSA web (English) reference
Vol. 8, Book 73, Hadith 25 (deprecated numbering scheme)