The Messenger of Allah ﷺ said, "The jihad of the elderly, the young, the weak, and the woman is Hajj and Umra."
أخبرني محمد بن عبد الله بن عبد الحكم عن شعيب عن الليث قال حدثنا خالد عن ابن أبي هلال عن يزيد بن عبد الله عن محمد بن إبراهيم عن أبي سلمة
عن رسول الله ﷺ قال جهاد الكبير والصغير والضعيف والمرأة الحج والعمرة
[Its isnad is sahih]. Bayhaqi related it, 4/350, from the hadith of Layth bin Saad, from Khalid bin Yazid, from Saeed bin Abu Hilal, with this wording. It is also found in Kubra, hadith no. 3605. The hadith has corroborating narrations.Yazid is the son of Abdullah bin Had.