Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) said that the Messenger of Allah (peace and blessings be upon him) passed by a woman who was in her litter and had a child with her. She said: O Messenger of Allah! Is there Hajj for this one? He (peace and blessings be upon him) said: "Yes, and you will have a reward."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 9706