The act referred to in the question is impermissible as the sperm was taken before marriage, and the wife at the time the sperm was taken was not lawful for the husband.
Sheikh Ahmad Kutty, a senior lecturer and Islamic scholar at the Islamic Institute of Toronto, Ontario, Canada states: “This is not considered permissible according to the principles of Islam, for the sperm was taken when he was still not married to the woman whose eggs were injected with the sperm. She was therefore not lawful for him at that time.
In Islam, the sperm and the egg must be both extracted and united while the man and woman are lawfully married. That was not the case at the time of extracting the sperm in this case.
A wife, according to Islam, can only be inseminated with sperm that is taken from her husband while she is married to him, and not when they were not lawfully married.”
Using Sperm Frozen before Marriage
Did you like this content?
Recommended
A welcome message to new Muslims
Differences Between the Schools of Fiqh
Making up for Years of Missed Prayer
A Pledge with Allah Should Be Esteemed
The Five Daily Prayers: Any Mention in the Qur’an?
Vaginal Discharges and Prayer
Can We Feel Joy While Oppressed Muslims Are Suffering?
When Your Child Rejects Islam: A Guide for Muslim Parents
Proofs of Muhammad’s Prophethood
Helping People: A Sign of Allah’s Favor
Top Reading