Sahabah engaged in al-'Azl so their slaves would not get pregnant and could continue both working and giving their owners sexual pleasure
With regard to ‘azl (coitus interruptus), or withdrawing during intercourse, the correct scholarly view is
that there is nothing wrong with it, because of the hadeeth of Jaabir (may Allaah be pleased with him): “We used to practise ‘azl at the time when the Qur’aan was being revealed” – i.e., at the time of the Prophet (peace and blessings of Allaah be upon him). If that action had been haraam, the Prophet (peace and blessings of Allaah be upon him) would have forbidden it. But the scholars say that one should not engage in ‘azl with a free woman except with her permission, because she has the right to have children. Moreover, withdrawing without her permission diminishes her pleasure, because the woman’s pleasure can only be completed after ejaculation. So not asking her permission causes her to lose out on pleasure and on the possibility of having children. Hence we state the condition that this may only be done with her permission.
From Fataawa al-Shaykh Muhammad ibn ‘Uthaymeen.
From Fataawa Islamiyyah, vol. 3, p. 190.
Thirdly: the reason why the Sahaabah engaged in ‘azl was because they did not want the woman – especially a slave woman – to get pregnant, so that they could continue to enjoy a physical relationship with them and the woman would still be able to do their work. Abu Dawood narrated that a man said, “O Messenger of Allaah, I have a slave woman and I engage in ‘azl with her, because I do not want her to get pregnant, but I want what men want. But the Jews say that ‘azl is a lesser form of infanticide.” He said, “The Jews are lying. If Allaah wants to create (a child) you cannot prevent that.” (Narrated by Abu Dawood, Kitaab al-Nikaah, 1856; classed as saheeh by al-Albaani in Saheeh Abi Dawood, 1903).
"‘Azl (coitus interruptus) and using birth control pills" (
archived)
Sheikh Muhammed Salih Al-Munajjid, Islam Q&A, Fatwa No. 11885