Sahih Muslim 1438 f
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وَحَدَّثَنِي أَبُو الرَّبِيعِ الزَّهْرَانِيُّ، وَأَبُو كَامِلٍ الْجَحْدَرِيُّ - وَاللَّفْظُ لأَبِي كَامِلٍ - قَالاَ حَدَّثَنَا حَمَّادٌ، - وَهُوَ ابْنُ زَيْدٍ - حَدَّثَنَا أَيُّوبُ، عَنْ مُحَمَّدٍ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ بِشْرِ بْنِ مَسْعُودٍ، رَدَّهُ إِلَى أَبِي سَعِيدٍ الْخُدْرِيِّ قَالَ سُئِلَ النَّبِيُّ صلى الله عليه وسلم عَنِ الْعَزْلِ فَقَالَ لاَ عَلَيْكُمْ أَنْ لاَ تَفْعَلُوا ذَاكُمْ فَإِنَّمَا هُوَ الْقَدَرُ " . قَالَ مُحَمَّدٌ وَقَوْلُهُ " لاَ عَلَيْكُمْ " . أَقْرَبُ إِلَى النَّهْىِ ."
Abu Sa'id al-Khudri (Allah be pleased with him) reported that Allah's Apostle (ﷺ) was asked about 'azl, whereupon he said:
There is no harm if you do not do that, for it (the birth of the child) is something ordained. Muhammad (one of the narrators) said: (The words) La 'alaykum (there is no harm) implies its Prohibition.
Full reference and source
Sahih Muslim 1438 f In-book : Book 16, Hadith 152 USC-MSA web (English) : Book 8, Hadith 3376 (deprecated)
View source on Sunnah.com (opens in a new tab)