Sunan an-Nasa'i, Book 24, Hadith 31 (Nasa'i 2654)

It was narrated from Ibn 'Abbas that:

the Messenger of Allah passed by a woman when she was in her seclusion and had a child with her. She said: "Is there Hajj for this one?'' He said: "Yes, and you will be rewarded.''(sahih)