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.” (Using translation from Abū Dāʾūd 2173)
جَاءَ رَجُلٌ إِلَى رَسُولِ اللهِ ﷺ فَقَالَ إِنَّ لِي جَارِيَةً وَهِيَ خَادِمُنَا وَسَانيَتُنَا أَطُوفُ عَلَيْهَا وَأَنَا أَكْرَهُ أَنْ تَحْمِلَ قَالَ اعْزِلْ عَنْهَا إِنْ شِئْتَ فَإِنَّهُ سَيَأْتِيهَا مَا قُدِّرَ لَهَا قَالَ فَلَبِثَ الرَّجُلُ ثُمَّ أَتَاهُ فَقَالَ إِنَّ الْجَارِيَةَ قَدْ حَمَلَتْ قَالَ قَدْ أَخْبَرْتُكَ أَنَّهُ سَيَأْتِيهَا مَا قُدِّرَ لَهَا