It is narrated from Sayyiduna Hudhayfah bin al-Yaman (may Allah be pleased with him) that they were talking about 'azl (coitus interruptus). The Messenger of Allah (peace and blessings be upon him) heard this, so he (peace and blessings be upon him) came out to them and said: "Do you do this?" They said: Yes. He (peace and blessings be upon him) said: "Do you not know that any soul which Allah, the Mighty and Majestic, is to create will certainly come into being?"
Hadith Referenceالمعجم الكبير للطبراني / باب الحاء / 3014