Abdullah bin Abbas reported,

Did the Messenger of Allah ﷺ take women out on military expeditions, and did he allot them a share of the spoils?Ibn Abbas wrote back to him, "You have written asking me whether the Messenger of Allah ﷺ used to take women out on military expeditions. He did take them along, and they would tend to the wounded and be given a small portion from the spoils. As for a regular share, he did not allot them a fixed share."

Tirmidhi 1556

Sahih

حدثنا قتيبة حدثنا حاتم بن إسمعيل عن جعفر بن محمد عن أبيه عن يزيد بن هرمز أن نجدة الحروري كتب إلى

ابن عباس يسأله

هل كان رسول الله ﷺ يغزو بالنساء وهل كان يضرب لهن بسهم فكتب إليه ابن عباس كتبت إلي تسألني هل كان رسول الله ﷺ يغزو بالنساء وكان يغزو بهن فيداوين المرضى ويحذين من الغنيمة وأما بسهم فلم يضرب لهن بسهم

الترمذي 1556صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Expeditions
Chapter
Those who are given the spoils
Numbering
Darussalam 1556
Tirmidhi 1556