Yes. (I heard) Allah's Apostle (ﷺ) as saying: There is no harm if you do not practise it…

Sahih Muslim Book 16 Hadith 150

Sahih Muslim #1438 d

The Book of Marriage 16:150

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).

Chapter: The ruling on coitus interrupts ('Azl)

Grade: Sahih