Concerning this issue, Dr.Hatemal-Haj said that ‘It is allowed to do IVF if the sperm and egg are from the husband and his wife, so I recommend that you have the procedure if there is likelihood of success

If you consider infertility an affliction, then know that Allah afflicts those whom He likes also; The Messenger of Allah said, “The people most tried are the Prophets, and then those closest to them…” (Al-Termidhi).

I do urge the two of you to work together to avoid separation for that eventuality is hated by Allah.’