This excerpt is taken from the book of Fazilat-ul-Sheikh Abdul Salam Rustami From Denial of Hadith to Denial of Quran.
Hadith 16: 'Azl (Coitus Interruptus)'
Reference: Sahih al-Bukhari, An-Nikah, Chapter on 'Azl', Hadith: 5207-5210
It is not known what objection the deniers of Hadith have to this Hadith of 'Azl', but they have included this Hadith among those they object to. The words of the Hadith are
لا عليكم ألا تفعلوا ذلكم
"If you do not do this, there is no harm on you."
Reference: Sahih al-Bukhari, Al-Buyu', Chapter on Selling Slaves, Hadith: 2229, and Sahih Muslim, An-Nikah, Chapter on the Ruling of 'Azl', Hadith: 1438
The scholars of Hadith have given two interpretations regarding this. First, if you do not do this, you will not suffer any harm; second, do not do it, it is not obligatory on you to do so. From this, it is understood that the Prophet Muhammad (peace be upon him) disliked 'Azl', but he did not explicitly forbid it. There is a choice whether to perform 'Azl' or not, but one should not hold the belief that by doing 'Azl' a child will not be born, because what is written in destiny cannot be prevented by anyone.