Mabad bin Sirin reported,

I asked Abu Saeed Khudri, "Did you hear anything from the Messenger of Allah ﷺ about coitus interruptus?"He replied, "Yes. We asked the Messenger of Allah ﷺ about coitus interruptus, and he said, 'What is it?'We said, 'A man has a wife who is nursing, and he has intercourse with her but does not want her to become pregnant, so he withdraws from her. Or he has a slave girl as his only property, and he has intercourse with her but does not want her to become pregnant, so he withdraws from her.'He said, 'There is no harm if you do not do so, for it is only the divine decree.'"

Ahmad 11645

Sahih

حدثنا يزيد أخبرنا هشام عن محمد عن أخيه

معبد بن سيرين قال

قلت لأبي سعيد الخدري هل سمعت من رسول الله ﷺ في العزل شيئا فقال نعم سألنا رسول الله ﷺ عن العزل فقال وما هو قلنا الرجل تكون له المرأة المرضع فيصيب منها ويكره أن تحمل فيعزل عنها وتكون له الجارية ليس له مال غيرها فيصيب منها ويكره أن تحمل فيعزل عنها فقال لا عليكم أن لا تفعلوا فإنما هو القدر

أحمد 11645صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Saeed Khudri
Numbering
Darussalam 11645
Ahmad 11645