I saw the Messenger of Allah ﷺ saying the prayer while he was carrying Umama, daughter of Zainab, daughter of the Messenger of Allah ﷺ. and Abu'l-'As b. al-Rabi'. When he stood up, he took her up and when he prostrated he put her down, Yahya said: Malik replied in the affirmative.
أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ يُصَلِّي وَهُوَ حَامِلٌ أُمَامَةَ بِنْتَ زَيْنَبَ بِنْتِ رَسُولِ اللَّهِ ﷺ وَلأَبِي الْعَاصِ بْنِ الرَّبِيعِ فَإِذَا قَامَ حَمَلَهَا وَإِذَا سَجَدَ وَضَعَهَا قَالَ يَحْيَى قَالَ مَالِكٌ نَعَمْ