Sunan an-Nasa'i, Volume 4, Book 26, Hadith 3329 (DarusSalam)

It was narrated from 'Abdur-Rahman bin Bishr bin Mas'ud, who attributed the Hadith to Abu Sa'eed Al-Khudri, that mention of that (coitus interruptus) was made to the Messenger of Allah and he said: "Why do you do that?" We said: "A man may have a wife, and he has intercourse with her, but he does not want her to get pregnant, or he may have a concubine, and he has intercourse with her, but he does not want her to get pregnant." He said: "It does not make any difference if you do that, for it is the matter of Al-Qadr."

أَخْبَرَنَا إِسْمَاعِيلُ بْنُ مَسْعُودٍ، وَحُمَيْدُ بْنُ مَسْعَدَةَ، قَالاَ حَدَّثَنَا يَزِيدُ بْنُ زُرَيْعٍ، قَالَ حَدَّثَنَا ابْنُ عَوْنٍ، عَنْ مُحَمَّدِ بْنِ سِيرِينَ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ بِشْرِ بْنِ مَسْعُودٍ، وَرَدَّ الْحَدِيثَ حَتَّى رَدَّهُ إِلَى أَبِي سَعِيدٍ الْخُدْرِيِّ قَالَ ذُكِرَ ذَلِكَ عِنْدَ رَسُولِ اللَّهِ صلى الله عليه وسلم قَالَ ‏"‏ وَمَا ذَاكُمْ ‏"‏ ‏.‏ قُلْنَا الرَّجُلُ تَكُونُ لَهُ الْمَرْأَةُ فَيُصِيبُهَا وَيَكْرَهُ الْحَمْلَ وَتَكُونُ لَهُ الأَمَةُ فَيُصِيبُ مِنْهَا وَيَكْرَهُ أَنْ تَحْمِلَ مِنْهُ ‏.‏ قَالَ ‏"‏ لاَ عَلَيْكُمْ أَنْ لاَ تَفْعَلُوا فَإِنَّمَا هُوَ الْقَدَرُ ‏"‏ ‏.‏

sunnah.com