It is narrated from Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) that coitus interruptus ('azl, withdrawing before ejaculation during intercourse) was mentioned in the presence of the Prophet (peace and blessings be upon him), and he said: "Do you do that?" (and he (peace and blessings be upon him) did not say: Do not do it) "Indeed, there is no soul that Allah is to create except that Allah will certainly create it."
Hadith Referenceمسند أبي يعلى الموصلي / من مسند أبي سعيد الخدري / 1135
Hadith Takhrij«قال سعيد بن محمد السناري: صحيح» «أخرجه مسلم [1438]، وأبو داود [2170]، والترمذى [1138]، وسعيد بن منصور في "سننه" [2218]، والنسائى في "الكبرى" [9090]، والبيهقى في "سننه" [14085]، والحميدى [747]، وابن منده في "التوحيد" [1/ رقم 256]، وغيرهم، مسند ابویعلیٰ ترقیم الاثری: 1130»