“A woman held up a child of hers to the Prophet (ﷺ) during Hajj and said: ‘O Messenger of Allah, is there Hajj for this one?’ He said: ‘Yes, and you will be rewarded.’”
Sunan Ibn Majah Book 25, Hadith 29