The Prophet (saw) did not take wealth and captives for himself: he applied the rules the Qur'an gave for war gains, which set aside one fifth for Allah, the Messenger and the needy and gave the rest to the fighters (8:41). Captives, the 'women' of the question, were people taken in war in a world where capture meant slavery; the Prophet's practice is recorded as ransoming, freeing, returning and marrying captives only under conditions, and the Qur'an encouraged freeing them. The most famous case, after Hunayn, saw about six thousand captives returned to their tribe.
- Wealth: the Qur'an fixed the shares (8:41); the Prophet (saw) is reported to have left no money at his death.
- Captives: war captives were treated under the rules of the time, but the Qur'an urged ransom or release (47:4) and freeing slaves (90:13).
- Hunayn (8 AH): he gave large gifts to new converts to win their hearts and later returned the captives to the Hawazin.
- Scholars: they differ on details of the law of war and slavery; today slavery is outlawed in every Muslim country.
Introduction
The question asks why the Prophet (saw) distributed wealth and 'women' after wars. It uses blunt language, and the honest answer needs to deal with two things: the economic rules of war in seventh-century Arabia, and the status of captive women in a world where slavery existed in every society. This answer reports what the Qur'an and the early sources say, notes where scholars differ and explains what Muslims have taken from the reports. It does not claim that every ruling of that time is a model for today.
Hadith numbers are marked for checking. The main sources are the Qur'an, the two Sahihs, Abu Dawud and the biographies of Ibn Ishaq, Ibn Sa'd and al-Waqidi, and the legal works on war and spoils (al-siyar), among them Abu Yusuf's Kitab al-Kharaj.
Spoils of war in Arabia and in the Qur'an
Before Islam, Arab tribes took the spoils of raids, and the leader often kept the best part. At Badr, the Muslims disagreed about who should have the spoils, and the Qur'an said that they belong to Allah and the Messenger (8:1), meaning that they are to be dealt with by the rules He gives. A later verse fixes the shares:
وَاعْلَمُوا أَنَّمَا غَنِمْتُم مِّن شَيْءٍ فَأَنَّ لِلَّهِ خُمُسَهُ وَلِلرَّسُولِ وَلِذِي الْقُرْبَىٰ وَالْيَتَامَىٰ وَالْمَسَاكِينِ وَابْنِ السَّبِيلِ
And know that whatever you obtain of war booty, one fifth is for Allah, the Messenger, the near relatives, the orphans, the needy and the traveller. (Qur'an 8:41)
The remaining four fifths were divided among the fighters, with a larger share for cavalry according to many reports. The fifth that went to the Prophet (saw) was used for public needs: arms, the poor, delegations and the household of the Prophet. He is reported to have said that he would not take from the spoils more than his fifth, and that the fifth itself was returned to the community (Abu Dawud). Aisha (ra) and Amr ibn al-Harith (ra) report that he left no dinar, no dirham, no slave and no animal at his death except his white mule, his weapons and land he had given as charity (Sahih al-Bukhari).
Gifts to new Muslims
After the Battle of Hunayn in 8 AH, the Prophet (saw) gave one hundred camels each to leaders of Quraysh and others such as Abu Sufyan, Safwan ibn Umayya and al-Aqra' ibn Habis, many of whom had only just accepted Islam. Some of the Ansar felt hurt and said, 'The Messenger of Allah has found his own people.' The Prophet (saw) gathered them and asked whether they were upset that people went home with sheep and camels while they went home with the Messenger of Allah. The Ansar wept and said they were content (Sahih al-Bukhari and Sahih Muslim; the account is in Ibn Ishaq). The gifts are explained by the Qur'an's provision for 'those whose hearts are to be reconciled' (9:60), which scholars take to mean new or wavering Muslims and influential leaders whose conversion could prevent more bloodshed.
Captives and women
In the seventh century, as in other ancient societies, women and children taken in war were enslaved. Islam did not create this practice. The Qur'an put limits on it and encouraged ending it. It says that after the fighting, captives may be released freely or for ransom (47:4), counts the freeing of a slave among the highest acts of virtue (90:13), makes the freeing of slaves the expiation for many sins and urges slave-owners to give a contract of freedom to a slave who asks (24:33). Muslim jurists drew from this that a woman taken captive could not be treated as a mere possession: she could not be forced into prostitution (24:33), had to wait a period to establish whether she was pregnant (istibra') before any relation, and if she bore her master's child she gained rights (umm walad) and was to be freed on his death, according to the later legal tradition.
The Prophet (saw) himself returned captives where he could. After Hunayn, a delegation of the Hawazin came, accepted Islam and asked for their families and goods back. He gave them the choice, and they chose their women and children; the Prophet (saw) and the Muslims gave up their shares, and about six thousand people were returned (Sahih al-Bukhari). Juwayriyya bint al-Harith (ra), captured after the raid on Banu al-Mustaliq, asked for a contract of freedom, and the Prophet (saw) paid it and married her; Aisha (ra) said no woman was a greater blessing to her people, for the Muslims then freed about a hundred families of the tribe, as they were now in-laws of the Prophet (saw) (Abu Dawud). Safiyya bint Huyayy (ra) was freed and married after Khaybar, and Mariya al-Qibtiyya (ra) bore the Prophet (saw) a son.
What scholars say and what Muslims take today
Classical jurists such as Abu Hanifa, Malik, al-Shafi'i and Ahmad ibn Hanbal laid down detailed rules for captives and spoils, and they differed over points such as whether the imam must choose between execution, ransom, enslavement and release. Many modern scholars hold that, since slavery has been abolished by international consensus and by the laws of all Muslim states, the rules for taking slaves no longer apply, and that the Qur'an's main direction was toward freedom. They cite the Prophet's saying that Allah would be an opponent on the Day of Resurrection to the one who sells a free person (Sahih al-Bukhari). Others, such as some contemporary militant groups, have tried to revive slavery, and mainstream scholars across the Muslim world have rejected this as a misuse of the sources.
A critic may still ask whether the Prophet (saw) should have ended it at once. Muslim scholars reply that he began a process that, in the end, removed the main sources of slavery and encouraged freeing. Historians note that the end of slavery in the Muslim world came in the nineteenth and twentieth centuries and came late, as in Europe and America. These are historical answers; they do not remove the difficulty for the reader, and Muslims should be honest in discussing it.
فَكُّ رَقَبَةٍ أَوْ إِطْعَامٌ فِي يَوْمٍ ذِي مَسْغَبَةٍ يَتِيمًا ذَا مَقْرَبَةٍ
The freeing of a slave, or feeding on a day of severe hunger, an orphan of near relationship. (Qur'an 90:13 to 15)
Conclusion
The Prophet (saw) followed the Qur'anic rules for spoils and for captives and often released or married them in order to free them; slavery was a feature of the age which the Qur'an limited and urged Muslims to end, and scholars today reject its revival.
References
Qur'an 8:1, 8:41, 9:60, 24:33, 47:4, 90:13 to 15
Sahih al-Bukhari 4318 to 4319, on the Hawazin delegation and the return of captives at Hunayn
Sunan Abi Dawud, on Juwayriyya
Abu Yusuf, Kitab al-Kharaj
Ibn Hisham, al-Sira al-Nabawiyya
Jonathan A. C. Brown, Slavery and Islam (Oneworld, 2019)