It was narrated from Ibn 'Abbas that:
a woman helf up a child of hers to the Messenger of Allah and said: "O Messenger of Allah, is there Hajj for this one?" He said: "Yes, and you will be rewarded. (Sahih) "