Abu Saeed Khudri reported,

We went out with the Messenger of Allah ﷺ on the expedition against Banu Mustaliq and captured some Arab prisoners. We desired the women, as celibacy had become difficult for us, and we also wanted the ransom money. So we decided to practice withdrawal, but then we said, "Should we practice withdrawal while the Messenger of Allah ﷺ is among us, before asking him about it?"We asked him about this, and he said, "It does not matter if you do not do so. There is no soul destined to come into being until the Day of Resurrection that will not come into being."

Azami 6162

Sahih

عن أبي سعيد الخدري قال

خرجنا مع رسول الله ﷺ في غزوة بني المصطلق، فأصبنا سبيا من سبي العرب، فاشتهينا النساء، واشتدت علينا العزبة، وأحببنا الفداء، فأردنا أن نعزل، فقلنا: نعزل ورسول الله ﷺ بين أظهرنا قبل أن نسأله، فسألناه عن ذلك، فقال: ما عليكم أن لا تفعلوا ما من نسمة كائنة إلى يوم القيامة إلا وهي كائنة.

الأعظمي 6162صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Emancipation of slaves
Section
Taking slaves from the Arabs
Numbering
Jami al-Kamil 6162 (2nd edition)
Azami 6162