Abu Qatada reported,

I saw the Prophet ﷺ leading the people in prayer while Umama, daughter of Abu al-As and daughter of Zaynab the Prophet's ﷺ daughter, was on his shoulder. When he bowed, he set her down, and when he rose from prostration, he placed her back again.

Muslim 1213

Sahih

حدثنا محمد بن أبي عمر حدثنا سفيان عن عثمان بن أبي سليمان وابن عجلان سمعا عامر بن عبد الله بن الزبير يحدث عن عمرو بن سليم الزرقي

عن أبي قتادة الأنصاري قال

رأيت النبي ﷺ يؤم الناس وأمامة بنت أبي العاص وهي ابنة زينب بنت النبي ﷺ على عاتقه فإذا ركع وضعها وإذا رفع من السجود أعادها

مسلم 1213صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Mosques and places of prayer
Chapter
Permissibility of carrying children during prayer
Numbering
Darussalam 1213
Muslim 1213