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
Takbir on the Days of Dhul-Hijjah
Offering Tahajjud Without Sleeping
Days of Dhul-Hijjah: Ethics & Morals
Visiting Graves on the Day of `Eid
Is Fasting the Days of Tashreeq Permissible?
Does Shaving During the ten Days of Dhul-Hijjah Validate Udhiyyah?
The Wisdom Behind Shaving Head During Hajj
Making up for Years of Missed Prayer
Disobedient Wife, How to Deal with Her?
Missed Tawaf Al-Ifadah: Is Hajj Valid?
Top Reading