Ibn `Abbas said the Messenger of Allah (SWAS) was at al-Rawha. There he met some riders. He saluted them and asked who they were. They replied that they were Muslims. They asked who are you. They (the companions) replied he is the Messenger of Allah (SWAS). A woman became upset: she took her child by his arm and lifted him from her litter at the camel. She said Messenger of Allah (SWAS) can this (child) be credited with having performed Hajj. He replied Yes, and you will have a reward.
Sunan Abi Dawud, Book 11, Hadith 16