Devarim (Deuteronomy): Ki Teitzei > Ch 25
A judge shall deliver lashes fairly
If there is a quarrel between men, and they approach the tribunal, and they [the judges] judge them, and they acquit the innocent one and condemn the guilty one and it shall be, if the guilty one has incurred [the penalty of] lashes, that the judge shall make him lean over and flog him in front of him, commensurate with his crime, in number. He shall flog him with forty [lashes]; he shall not exceed, lest he give him a much more severe flogging than these [forty lashes], and your brother will be degraded before your eyes.
You shall not keep two different weights
You shall not keep in your pouch two different weights, one large and one small. You shall not keep in your house two different ephah measures, one large and one small. [Rather,] you shall have a full and honest weight, [and] a full and honest ephah measure, in order that your days will be prolonged on the land which the Lord, your G-d, gives you. For whoever does these things, whoever perpetrates such injustice, is an abomination to the Lord, your G-d.
Remember what Amalek did to you. Obliterate Amalek from beneath the heavens.
You shall remember what Amalek did to you on the way, when you went out of Egypt, how he happened upon you on the way and cut off all the stragglers at your rear, when you were faint and weary, and he did not fear G-d. [Therefore,] it will be, when the Lord your G-d grants you respite from all your enemies around [you] in the land which the Lord, your G-d, gives to you as an inheritance to possess, that you shall obliterate the remembrance of Amalek from beneath the heavens. You shall not forget!