Volume 3, Book 34, Number 431 :
Narrated by Anas (radiallaahu `anhu)
Amongst the captives was Safiya (radiallaahu `anhaa). First she was given to Dihya Al-Kalbi (radiallaahu `anhu) and then to the Prophet (sallallaahu `alayhi wasallam).
Volume 3, Book 34, Number 432 :
Narrated by Abu Said Al-Khudri (radiallaahu `anhu)
That while he was sitting with Allah’s Apostle (sallallaahu `alayhi wasallam) he said, “O Allah’s Apostle (sallallaahu `alayhi wasallam)! We get female captives as our share of booty, and we are interested in their prices, what is your opinion about coitus interruptus?” The Prophet (sallallaahu `alayhi wasallam) said, “Do you really do that? It is better for you not to do it. No soul that which Allah has destined to exist, but will surely come into existence.
Coitus interruptus, also known as the rejected sexual intercourse, withdrawal or pull-out method, is a method of birth-control in which a man, during intercourse withdraws his penis from a woman’s vagina prior to orgasm (and ejaculation). The man then directs his ejaculate (semen) away from his partner’s vagina in an effort to avoid insemination. [Wikipedia]
Is family planning permissible?
It is permissible to use temporary means of contraception in order to increase the gaps between pregnancies, or to stop them for a limited period of time, if there is a valid shar’i reason for doing so, based on the couple’s estimation and with mutual consultation and agreement, subject to the condition that this does not result in harm and that the means is acceptable according to sharee’ah and will not damage any existing pregnancy.
Taken from: IslamQA
It is permissible for the spouses to agree on family planning so long as that is temporary and not a permanent thing – subject to the condition that the means used does not cause any harm to the woman.
Ruling on Coitus Interruptus (`Azl)
It is permissible to engage in coitus interruptus if a person does not want a child, and it is also permissible to use a condom, but that is subject to the condition that the wife gives her permission for that, because she has the right to full enjoyment and also to have a child. The evidence for that is the hadeeth of Jaabir ibn ‘Abd-Allaah (may Allaah be pleased with him) who said: We used to engage in coitus interruptus at the time of the Messenger of Allaah (peace and blessings of Allaah be upon him). News of that reached the Messenger of Allaah (peace and blessings of Allaah be upon him), and he did not forbid us to do that. Narrated by al-Bukhaari, 250; Muslim, 160
Read more on it here.