IF there is a law then there is sin . I believe if we violate the Gods 10 commandments , ( any of them ) we fall on sin. Many of this commandment go very far back to 2000 BC example the Hammurabi law ( about 1760 bc) and that law is pretty strict . In the 10 commandments you have the addition the respect of the Creator
Some of Hammurabi code
Slander
Ex. Law #127: "If any one "point the finger" at a sister of a god or the wife of any one, and can not prove it, this man shall be taken before the judges and his brow shall be marked. (by cutting the skin, or perhaps hair.)"
[21]
Trade
Ex. Law #265: "If a herdsman, to whose care cattle or sheep have been entrusted, be guilty of fraud and make false returns of the natural increase, or sell them for money, then shall he be convicted and pay the owner ten times the loss."
[21]
Slavery
Ex. Law #15: "If any one take a male or female slave of the court, or a male or female slave of a freed man, outside the city gates, he shall be put to death."
[21]
The duties of workers
Ex. Law #42: "If any one take over a field to till it, and obtain no harvest therefrom, it must be proved that he did no work on the field, and he must deliver grain, just as his neighbor raised, to the owner of the field."
[21]
Theft
Ex. Law #22: "If any one is committing a robbery and is caught, then he shall be put to death."
[21]
Food
Ex. Law #104: "If a merchant give an agent corn, wool, oil, or any other goods to transport, the agent shall give a receipt for the amount, and compensate the merchant therefor. Then he shall obtain a receipt from the merchant for the money that he gives the merchant."
[21]
Liability
Ex. Law #53: "If any one be too lazy to keep his dam in proper condition, and does not so keep it; if then the dam break and all the fields be flooded, then shall he in whose dam the break occurred be sold for money, and the money shall replace the corn which he has caused to be ruined."
[21]
Divorce
Ex. Law #142: "If a woman quarrel with her husband, and say: "You are not congenial to me," the reasons for her prejudice must be presented. If she is guiltless, and there is no fault on her part, but he leaves and neglects her, then no guilt attaches to this woman, she shall take her dowry and go back to her father's house."
[21]
One of the best known laws from Hammurabi's code was:
Ex. Law #196: "If a man destroy the eye of another man, they shall destroy his eye. If one break a man's bone, they shall break his bone. If one destroy the eye of a freeman or break the bone of a freeman he shall pay one gold mina. If one destroy the eye of a man's slave or break a bone of a man's slave he shall pay one-half his price."
[21]
Hammurabi had many other punishments as well. If a son strikes his father, his hands shall be hewn off (translations vary).
The present society will decide what is sin . But in the spiritual domain in our Judeo-Christian-Islam beliefs I believe we stick to the 10 commandments