During the battle of Banu Mustaliq, they captured female captives and wanted to enjoy them without getting them pregnant, so they asked the Messenger of Allah (PBUH) [about withdrawal], and he said: It does not make any difference if you do that, for Allah has decreed who he will create until the Day of Resurrection.
It was attributed to the Prophet (PBUH), regarding withdrawal that he said: It does not make any difference if you do that, for it is a matter of fate.