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. She was told: This is the Messenger of Allah (peace and blessings be upon him). She took hold of the upper arm of a child who was with her and said: "Is there Hajj for this one?" He (peace and blessings be upon him) said: "Yes, and you will have a reward."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 9702