كتاب النكاح
16  
The Book of Marriage
(22)
Chapter: The ruling on coitus interrupts ('Azl)
(22)
باب حُكْمِ الْعَزْلِ ‏
Sahih Muslim 1438 d

Abu Sa'id al-Khudri (Allah be pleased with him) (was asked if he had heard it himself), to which he said:

Yes. (I heard) Allah's Apostle (ﷺ) as saying: There is no harm if you do not practise it, for it (the birth of the child) is something ordained (by Allah).
وَحَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ الْجَهْضَمِيُّ، حَدَّثَنَا بِشْرُ بْنُ الْمُفَضَّلِ، حَدَّثَنَا شُعْبَةُ، عَنْ أَنَسِ، بْنِ سِيرِينَ عَنْ مَعْبَدِ بْنِ سِيرِينَ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، قَالَ قُلْتُ لَهُ سَمِعْتَهُ مِنْ أَبِي سَعِيدٍ، قَالَ نَعَمْ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ لاَ عَلَيْكُمْ أَنْ لاَ تَفْعَلُوا فَإِنَّمَا هُوَ الْقَدَرُ‏"‏ ‏.‏
Reference : Sahih Muslim 1438d
In-book reference : Book 16, Hadith 149
USC-MSA web (English) reference : Book 8, Hadith 3374
  (deprecated numbering scheme)