"When the Companions asked the Holy Prophet (Sallallaho Aliaihe wa sallaml) about coitus interruptus (‘azl), he said: ‘This is like burying a live child.’ And this is the same which has been described in the Quranic verse: ‘And when the girl-child that was buried alive is asked’ (LXXXI) (Vide Muslim Sharif, vol. i, p. 466; Mishkat Sharif, p. 276). In Path al-Mulhim Sharh-e Sahih-e Muslim, Allamah Shabbir Ahmed Usmani quotes that Qazi has written that the Holy Prophet (Sallallaho Aliaihe wa sallam!) has determined coitus interruptus ‘a hidden burial’, that is, to waste the seed which Allah Most High had prepared for procreation is like infanticide and burying the child alive. The result is the same: the only difference is that it is not buried alive openly and hence it has been called hidden. There is a hadith in the Bukhari Sharif to the effect that when the Companions, on account of their zest of engaging in devotions and in order to avoid sins and for remaining aloof from relations, expressed the desire to get themselves castrated, the Holy Prophet (Sallallaho alaihe wa sallam!) did not allow them and adduced the Quranic verse, ‘O ye who believe: Forbid not the good things which Allah hath made lawful for you, and transgress not. Lo! Allah loveth not transgressors’ (V: 87), in proof. Even as the Holy Prophet (Sallallaho Alaihe wa sallam!) has, by this verse, determined castration to be unlawful, it is obvious that the termination of propagation under the family planning scheme will also be included under this order."
January 1, 1970
https://en.wikiquote.org/wiki/Islamic_views_on_birth_control