Abu Saeed Khudri reported,

He informed him that while he was sitting with the Prophet ﷺ, he said, "Messenger of Allah, we capture female prisoners and we desire their ransom, so what do you think of coitus interruptus?"The Prophet ﷺ replied, "Do you really do that? It does not matter if you do not do it, for there is no soul that Allah has decreed to come into existence except that it will come into existence."

Bukhari 2229

Sahih

حدثنا أبو اليمان أخبرنا شعيب عن الزهري قال أخبرني ابن محيريز أن

أبا سعيد الخدري رضي الله عنه

أخبره أنه بينما هو جالس عند النبي ﷺ قال يا رسول الله إنا نصيب سبيا فنحب الأثمان فكيف ترى في العزل فقال أوإنكم تفعلون ذلك لا عليكم أن لا تفعلوا ذلكم فإنها ليست نسمة كتب الله أن تخرج إلا هي خارجة

البخاري 2229صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Sales
Chapter
Sale of slaves
Numbering
Darussalam 2229
Bukhari 2229