Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:7409Isḥāq > ʿAffān > Wuhayb > Mūsá > Ibn ʿUqbah > Muḥammad b. Yaḥyá b. Ḥabbān > Ibn Muḥayrīz

That during the battle with Bani Al-Mustaliq they (Muslims) captured some females and intended to have sexual relation with them without impregnating them. So they asked the Prophet ﷺ about coitus interrupt us. The Prophet ﷺ said, "It is better that you should not do it, for Allah has written whom He is going to create till the Day of Resurrection." Qaza'a said, "I heard Abu Saʿid saying that the Prophet ﷺ said, 'No soul is ordained to be created but Allah will create it."  

البخاري:٧٤٠٩حَدَّثَنَا إِسْحَاقُ حَدَّثَنَا عَفَّانُ حَدَّثَنَا وُهَيْبٌ حَدَّثَنَا مُوسَى هُوَ ابْنُ عُقْبَةَ حَدَّثَنِي مُحَمَّدُ بْنُ يَحْيَى بْنِ حَبَّانَ عَنِ ابْنِ مُحَيْرِيزٍ

عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ فِي غَزْوَةِ بَنِي الْمُصْطَلِقِ أَنَّهُمْ أَصَابُوا سَبَايَا فَأَرَادُوا أَنْ يَسْتَمْتِعُوا بِهِنَّ وَلاَ يَحْمِلْنَ فَسَأَلُوا النَّبِيَّ ﷺ عَنِ الْعَزْلِ فَقَالَ مَا عَلَيْكُمْ أَنْ لاَ تَفْعَلُوا فَإِنَّ اللَّهَ قَدْ كَتَبَ مَنْ هُوَ خَالِقٌ إِلَى يَوْمِ الْقِيَامَةِ وَقَالَ مُجَاهِدٌ عَنْ قَزَعَةَ سَمِعْتُ أَبَا سَعِيدٍ فَقَالَ قَالَ النَّبِيُّ ﷺ لَيْسَتْ نَفْسٌ مَخْلُوقَةٌ إِلاَّ اللَّهُ خَالِقُهَا  


See similar narrations below:

Collected by Aḥmad
ahmad:11688ʿAffān > Wuhayb > Mūsá b. ʿUqbah > Muḥammad b. Yaḥyá b. Ḥabbān > Ibn Muḥayrīz

[Machine] “From Abu Sa’eed Al-Khudri during the Ghazwah (battle) of Bani Al-Mustaliq, it is reported that they captured some women as captives and wanted to have sexual pleasure with them without impregnating them. So they asked the Messenger of Allah ﷺ, who said, ‘It is not upon you to do so, for Allah ﷻ has decreed who will be created until the Day of Resurrection.’”  

أحمد:١١٦٨٨حَدَّثَنَا عَفَّانُ حَدَّثَنَا وُهَيْبٌ حَدَّثَنَا مُوسَى بْنُ عُقْبَةَ قَالَ حَدَّثَنِي مُحَمَّدُ بْنُ يَحْيَى بْنِ حَبَّانَ عَنِ ابْنِ مُحَيْرِيزٍ

عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ فِي غَزْوَةِ بَنِي الْمُصْطَلِقِ أَنَّهُمْ أَصَابُواسَبَايَا فَأَرَادُوا أَنْ يَسْتَمْتِعُوا بِهِنَّ وَلَا يَحْمِلْنَ فَسَأَلُوا رَسُولَ اللهِ ﷺ فَقَالَ مَا عَلَيْكُمْ أَنْ لَا تَفْعَلُوا فَإِنَّ اللهَ ﷻ قَدْ كَتَبَ مَنْ هُوَ خَالِقٌ إِلَى يَوْمِ الْقِيَامَةِ