Sahih Muslim, Book 16, Hadith 156 (Muslim 3522)

Abu Sa'id al-Khudri (Allah be pleased with him) reported that Allah's Messenger (ﷺ) was asked about 'azl, whereupon he said:

The child does not come from all the liquid (sermen) and when Allah intends to create anything nothing can prevent it (from coming into existence).