It is narrated from Abu Qatadah (may Allah be pleased with him) that the Prophet (peace be upon him) would sometimes lead the prayer while carrying Umamah bint Abi Al-As (may Allah be pleased with her). Imam Shafi’i (may Allah have mercy on him) said: Umamah’s clothes are the clothes of a child.
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 320
Hadith Takhrijاخرجه البخاري : الصلاة، باب اذا حمل جارية صغيرة على عنقه في الصلاة: 516 ـ ومسلم، المساجد، باب جواز حمل الصبيان في الصلاة وان جيابهم محمولة على الطهارة..... الخ 543۔