It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) passed by a woman who had a child with her in a palanquin. She took the child out of the palanquin and said, "O Messenger of Allah! Can this child perform Hajj?" The Prophet (peace and blessings be upon him) said, "Yes! And you will have the reward for it."