The Prophet (peace and blessings be upon him) said:
"If you wish, practise withdrawal ('azl) with her (the slave woman or wife), that is, discharge the semen outside; but know for certain that whatever child has been decreed for her will come to her regardless."
Hadith Referenceصحیح الجامع الصغیر / حرف الألف / 1053