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.
ibnmajah:89ʿAlī b. Muḥammad > Khālī Yaʿlá > al-Aʿmash > Sālim b. Abū al-Jaʿd > Jābir

"A man from among the Ansar came to the Prophet ﷺ and said: 'O Messenger of Allah ﷺ, I have a slave girl. Should I do 'Azl (coitus interruptus) with her?' He said 'Whatever is decreed for her shall come to her." He (the Ansari) came to him later on and said: "The slave girl has become pregnant." The Prophet ﷺ said: "Nothing is decreed for a person but it will surely come to pass."  

ابن ماجة:٨٩حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ حَدَّثَنَا خَالِي يَعْلَى عَنِ الأَعْمَشِ عَنْ سَالِمِ بْنِ أَبِي الْجَعْدِ عَنْ جَابِرٍ قَالَ

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


See similar narrations below:

Collected by Abū Dāwūd
abudawud:2173ʿUthmān b. Abū Shaybah > al-Faḍl b. Dukayn > Zuhayr > Abū al-Zubayr > Jābir

Jabir said “A man from the Ansar came to the Apostle of Allaah ﷺ and said “I have a slave girl and I have intercourse with her. But I dislike her to conceive. He replied “Withdraw your penis from her if you wish for what is decreed for her will come to her.” After a time the man came to him and said “The girl has become pregnant”. He said “I told you that what was decreed for her would come to her.”  

أبو داود:٢١٧٣حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا الْفَضْلُ بْنُ دُكَيْنٍ حَدَّثَنَا زُهَيْرٌ عَنْ أَبِي الزُّبَيْرِ عَنْ جَابِرٍ قَالَ

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