Seeing a prophet ordering the violation of Sharia

And whoever sees one of the prophets commanding him to do something that contradicts the Sharia, this will be a prohibition against him, a rebuke, and a threat to his saying, peace be upon him : If you are not ashamed of God, do what you want, for that is not an order to do but rather a threat .