Ruling on manufactured things made of an unlawful substance

Q 5: There is an opinion that permits the use of products that contain a forbidden substance whose state has been altered, such as using forbidden fats as in the case of pork fats after they have been chemically treated and changed into a substance to be used in making soap. What is the legality of this opinion? To what extent is the use of this soap permissible?

A: It has been unanimously agreed-upon that eating pork and using its fat are Haram (prohibited), regardless of the change in the substance of these fats or their being chemically treated.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.