A man from the Ansar came to the Prophet ﷺ and said, "I have a slave girl who draws water on my camel, and I practice withdrawal with her while having relations with her, yet she has now borne a child."The Messenger of Allah ﷺ replied, "Whatever soul Allah has decreed to create will surely come into being."
حدثنا أبو معاوية حدثنا الأعمش عن سالم
أتى النبي ﷺ رجل من الأنصار فقال إن لي خادما تسنى وقال مرة تسنو على ناضح لي وإني كنت أعزل عنها وأصيب منها فجاءت بولد فقال رسول الله ﷺ ما قدر الله لنفس أن يخلقها إلا هي كائنة
No references are available.
Its isnad is sahih, it has already appeared at 14282. Abu Muawiya is Muhammad bin Khazim al-Darir, and Salim is Ibn Abu Jaad.