Sahih Muslim Book 8, Hadith Number 3374.

Chapter: Al-Azl (incomplete sexual intercourse): Coitus Interruptus.

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 (May peace be upon him) as saying: There is no harm if you do not practise it, for it (the birth of the child) is something ordained (by Allah).