عَنْ أَبِي هُرَيْرَةَ عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «فَلَمْ تَحِلَّ الْغَنَائِمُ لِأَحَدٍ مِنْ قَبْلِنَا ذَلِكَ بِأَنَّ اللَّهَ رَأَى ضعفنا وعجزنا فطيها لنا»
Translation

Yazid b. Hurmuz told that Najda al-Haruri wrote to Ibn ‘Abbas asking whether a slave and a woman should be allotted a portion when they are present at the division of the spoil, and he told Yazid to write telling him they are not entitled to a portion, but may have a small amount given them. A version says that Ibn ‘Abbas wrote to him, “You have written asking me whether God’s Messenger took women on military expeditions and whether he allotted them a portion. He used to take them on military expeditions to tend the sick, and they would be given a little of the spoil, but so far as a portion is concerned he allotted them none.’’ Muslim transmitted it.