Question : Can we donate eggs or sperm?
Answer: It is not permitted to donate sperm or eggs to third parties, as this would be go against the principles of ascribing lineage to the biological parents.
The Islamic Fiqh Academy, and other bodies, including Al-Azhar’s Fatwa Committee, have studied this matter at length. They concluded that artificial insemination is permitted if only the husband and wife are reproductively involved–even if the fertilization itself occurs outside the mother. It is not permitted to use third party (‘donor’) sperm or eggs, even when either spouse is infertile. Some of the scholars also emphasize that such procedures should only be used when normal means prove ineffective.
And Allah alone gives success