A country that follows Sharia must closely integrate the teachings of Islam and its legal system.
Religion and law are closely intertwined in Muslim countries, which is can be seen clearly that when a person breaks a religious law (like cheating), they will be legally prosecuted as well, because those two are so connected.