Abu Qatada reported: I saw the Messenger of Allah ﷺ leading the people in prayer with Umama daughter of Abu'l-'As on his neck; and when he prostrated he put her down.
It is also important to note that this hadith serves as an example for how we should treat our children with love and kindness, even during religious activities such as praying together. We can learn from this example how to create a positive environment for our kids where they feel safe and secure while engaging in spiritual activities like praying together with their parents or guardians.