Confusion in lineage as a reason behind prohibiting Zina

Question:

There is an Ayah (Qur’anic verse) in the Glorious Qur’an, which states that Zina (sexual intercourse outside marriage) is prohibited, and is one of the major sins. It is forbidden in order to prevent confusion of lineage. However, those who oppose Islam say that the matter can be managed by using oral contraceptives and as a result, there will be no reason to prohibit Zina. What is Your Eminence’s answer to this claim?

Answer:

The prohibition of Zina is supported by evidence in the Qur’an, the Sunnah and Ijma’ (consensus of scholars) whether the reason behind it is known, such as protecting lineage and preserving the honor of a woman and her Waliy (a legally accountable person acting for a woman regarding marriage), or is unknown. The basic ruling concerning Islamic laws is that they are obeyed whether the reason behind them is known or unknown. There are other reasons unknown to many people behind the prohibition of Zina and protecting lineage is only one of them. Even if we assume that it is the only reason, Zina cannot be considered permissible once the risk of pregnancy is eliminated. What Allah has forbidden will remain so and a Muslim is not permitted to commit it, regardless of the existence or nonexistence of what they believe to be the reason behind its prohibition. Allah (Glorified be He) is All-Wise and All-Knowing in His Ordinances to His servants and in His Decree. If Zina was permissible in some cases, Allah would show them, and your Lord is never forgetful.

May Allah grant us success. May peace and blessings be upon our Prophet, his family and Companions