The Master of all creation informed us that when he judges according to what he hears, while in reality the matter is otherwise, it is impermissible for the party in whose favor the verdict was issued to take what has been awarded; he is merely being handed a portion of the Fire.
The scholars are unanimously agreed on this point with regard to unrestricted claims of ownership. If a judge rules on the basis of what he believes to be valid legal evidence—such as testimony or a confession—yet the hidden truth contradicts the outward appearance, it is, by consensus, unlawful for the beneficiary to appropriate what the judgment has granted him.
Should the judge issue a similar ruling concerning contracts or their dissolution, the majority of jurists maintain the same ruling applies. This is the position of Mālik, al-Shāfiʿī, and Aḥmad ibn Ḥanbal, whereas Abū Ḥanīfa—may Allah be pleased with him—differentiated between the two categories.
[The Meaning of the Terms sharʿ and sharīʿa]
Therefore, when the words sharʿ or sharīʿa are intended to mean the Book and the Sunnah, neither the friends of Allah nor anyone else has any right to depart from them; whoever assumes that