Quran 5:49 — The Feast (Al-Ma'edah)
You shall rule among them in accordance with GOD's revelations to you. Do not follow their wishes, and beware lest they divert you from some of GOD's revelations to you. If they turn away, then know that GOD wills to punish them for some of their sins. Indeed, many people are wicked.
[5:48] Then we revealed to you this scripture, truthfully, confirming previous scriptures, and superseding them. You shall rule among them in accordance with GOD's revelations, and do not follow their wishes if they differ from the truth that came to you. For each of you, we have decreed laws and different rites. Had GOD willed, He could have made you one congregation. But He thus puts you to the test through the revelations He has given each of you. You shall compete in righteousness. To GOD is your final destiny—all of you—then He will inform you of everything you had disputed.
[5:50] Is it the law of the days of ignorance that they seek to uphold? Whose law is better than GOD's for those who have attained certainty?