Halal
Abu Qatada reported that the Prophet ﷺ prayed while carrying his little granddaughter Umama: when he prostrated he put her down, and when he stood up he picked her up again. When necessary, this does not invalidate the prayer.
Source: Sahih al-Bukhari 516 · Sahih Muslim 543