Yes, it is narrated in Sahih al Bukhari.
عَنْ أَبِي قَتَادَةَ الأَنْصَارِيِّ، «أَنَّ رَسُولَ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ كَانَ يُصَلِّي وَهُوَ حَامِلٌ أُمَامَةَ بِنْتَ زَيْنَبَ بِنْتِ رَسُولِ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ، وَلِأَبِي العَاصِ بْنِ رَبِيعَةَ بْنِ عَبْدِ شَمْسٍ فَإِذَا سَجَدَ وَضَعَهَا، وَإِذَا قَامَ حَمَلَهَا»
Abu Qatadah al-Ansari narrated that the Prophet ﷺ would pray carrying (his granddaughter) Umamah daughter of Zaynab, daughter of the Messenger of Allah ﷺ, her father was Abu al-Aas bin Rabi’ah bin Abd Shams. When he (the Prophet ﷺ) would make Sajdah, he would put her down, and when he would stand, he would carry her. (Sahih al-Bukhari, 516).
The above Hadith is in Sahih al-Bukhari, as referenced. It is also in Sahih Muslim and other collections of Hadith. The scholars of Ahl Sunnah are in agreement that Hadith in Bukhari and Muslim are authentic.
And Allah (Most High) Knows Best.
– Answered by Shaykh Noorud-deen (17.03.2021)
Are all Hadith in Bukhari and Muslim Sahih?
Carrying a child in Salah
Excessive movement when carrying a child
See also (video):