Like the koran and hadiths for example
Verse 4:24
Also (forbidden are) women already married, except those whom your right hands possess. Thus has Allah ordained for you. All others are lawful, provided you seek them from your property, desiring chastity, not fornication. So with those among them whom you have enjoyed, give them their required due, but if you agree mutually after the requirement (has been determined), there is no sin on you. Surely, Allah is Ever All-Knowing, All-Wise.
Abu Said al-Khudri said: "The apostle of Allah sent a military expedition to Awtas on the occasion of the battle of Hunain. They met their enemy and fought with them. They defeated them and took them captives. Some of the Companions of the apostle of Allah were reluctant to have intercourse with the female captives in the presence of their husbands who were unbelievers. So Allah, the Exalted, sent down the Quranic verse, "And all married women (are forbidden) unto you save those (captives) whom your right hands possess". That is to say, they are lawful for them when they complete their waiting period." [The Quran verse is 4:24]
Narrated Ibn Muhairiz: I entered the Mosque and saw Abu Said Al-Khudri and sat beside him and asked him about Al-Azl (i.e. coitus interruptus). Abu Said said, "We went out with Allah's Apostle for the Ghazwa of Banu Al-Mustaliq and we received captives from among the Arab captives and we desired women and celibacy became hard on us and we loved to do coitus interruptus. So when we intended to do coitus interrupt us, we said, 'How can we do coitus interruptus before asking Allah's Apostle who is present among us?" We asked (him) about it and he said, 'It is better for you not to do so, for if any soul (till the Day of Resurrection) is predestined to exist, it will exist."
Abu Sa'id al-Khudri reported that at the Battle of Hunain Allah's Messenger sent an army to Autas and encountered the enemy and fought with them. Having overcome them and taken them captives, the Companions of Allah's Messenger seemed to refrain from having intercourse with captive women because of their husbands being polytheists. Then Allah, Most High, sent down regarding that:" And women already married, except those whom your right hands possess (Quran 4:. 24)" (i. e. they were lawful for them when their 'Idda period came to an end).