Abu Sa'id al-Khudri (RA) reported that Allah's Apostle (ﷺ) was asked about 'azl, whereupon he said: There is no harm if you do not do that, for it (the birth of the child) is something ordained. Muhammad (one of the narrators) said: (The words) La 'alaykum (there is no harm) implies its Prohibition.
Abu Sa'id al-Khudri (RA) reported that mention was made of 'azl in the presence of Allah's Apostle (ﷺ) whereupon he said: Why do you practise it? They said: There is a man whose wife has to suckle the child, and if that person has a sexual intercourse with her (she may conceive) which he does not like, and there is another person who has a slave-girl and he has a sexual intercourse with her, but he does not like her to have conception so that she may not become Umm Walad, whereupon he (the Holy Prophet) said: There is no harm if you do not do that, for that (the birth of the child) is something pre-ordained. Ibn 'Aun said: I made a mention of this hadith to Hasan, and he said: By Allah, (it seems) as if there is upbraiding in it (for 'azl).
Ibn 'Aun reported: I reported to Muhammad on the authority of Ibrahim the hadith reported by 'Abdul Rahmann bin Bishr (the hadith concerning 'azl), where-upon he said: That (hadith) Abdul Rahman bin Bishr had narrated to me (also).