the Messenger of Allah passed by a woman when she was in her seclusion and had a child…

Sunan an-Nasa'i Book 24 Hadith 31

Sunan an-Nasa'i #2649

The Book of Hajj 24:31

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)

Chapter: Performing Hajj With A Young Child