10 Commandments come from the Old Testament. The Qur'an mentions 9 Commandments but I am not aware of 9 or 10 commandments in the Vedas.
27:12 "Present the truth from your heart, it will shine unblemished. Take the Nine (of My) Messages to Pharaoh and his people, for they are a people drifting away from the right path.” [28:32. Nine, and not Ten Commandments. 2:83, 17:101, 34:13]
[Nine Commandments … Graven images of the Bible not mentioned]
6:151 Say, "Come, let me convey to you what your Lord has really prohibited you from:
i. Associate none with Him.
ii. Honor your parents, treat them kindly and fulfill their needs.
iii. Do not kill your children for fear of poverty. We provide for you and for them. (The Divine System will take care of your needs and their needs.)
iv. Do not come near immodesty or indecent deeds, whether openly or secretly.
v. Do not take any human life as God has made it sacred - except in the course of justice. All this He has commanded you so that you may use your intelligence and reflect on it with wisdom.” [17:31]
6:152 God commands you further:
vi. Do not approach the wealth of the orphan except to improve it until they come of age with full maturity of body and mind.
vii. Give full weight and full measure in all your dealings. Uphold justice in all aspects of your life. We do not assign any ‘self’ responsibility beyond its means (but to widen its potentials).
viii. And when you give testimony, be just, even if it is against a relative.
ix. Fulfill your Covenant with God, the unwavering allegiance to the Divine System. This He commands for you to bear in mind. [1:4-5, 9:111]