Sahih Muslim, Book 15, Hadith 459 (Muslim 3224)

Karaib reported:

A woman lifted a child and said: Messenger of Allah, would he be credited with Hajj? He said: Yes. and for you there would be a reward.