Aleksandr Solzhenitsyn said this quote

At the present time it is widely accepted among lawyers that law is higher than morality—law is something which is shaped and developed, whereas morality is something inchoate and amorphous. This is not the case. The opposite is true: morality is higher than law! Law is our human attempt to embody in rules a part of that moral sphere which is above us. We try to understand this morality, bring it down to earth, and present it in the form of law. Sometimes we are more successful, sometimes less. Sometimes we have a mere caricature of morality, but morality is always higher than law. This view must never be abandoned.