Husband making his wife unlawful for him to inform him with her sinful acts

Q 2: One of my colleagues told me that he said to his wife : "You are unlawful to me as my mother if you concealed anything from me". By that he meant any indecent relations, as he had doubts about her behavior. What is the ruling if she concealed anything from him? And if she told him what she did, does she become unlawful for him because he made a condition? What is the ruling on (Part No. 20; Page No. 301) what he did? He truly regrets what he has done and pities their children. His wife loves him, but he now sleeps alone because he thinks that she may be unlawful for him, and he says that she told him what she has done. Kindly give us your Fatwa in this regard? May Allah reward you the best.

A: If she told him what she did regarding her sinful acts, there is no Zhihar (a man likening his wife to an unmarriageable relative), and also in case she is innocent of any such sinful acts. However, if she has done anything sinful upon which the husband made Zhihar conditional, then it took place and he must make Kaffarah (expiation) before having sexual intercourse with her. He must free a bondsman and in the event that he is unable to do this, he is to fast two consecutive months. If he is unable to do this, he may feed sixty poor people. May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.