The Ten Commandments are listed prominently in Exodus 20 and Deuteronomy 5
The Ten Commandments are listed in Exodus:20:1-17 and Deuteronomy:5:4-21.
Here is how Exodus 20 renders the list of the Commandments:
And God spoke all these words, saying:
'I am the Lord your God, who brought you out of the land of Egypt, out of the house of bondage.
 You shall have no other gods before Me.
 'You shall not make for yourself a carved image—any likeness of anything that is in heaven above, or thatis in the earth beneath, or that is in the water under the earth; you shall not bow down to them nor serve them. For I, the Lord your God, am a jealous God, visiting the iniquity of the fathers upon the children to the third and fourth generations of those who hate Me, but showing mercy to thousands, to those who love Me and keep My commandments.
 'You shall not take the name of the Lord your God in vain, for the Lord will not hold him guiltless who takes His name in vain.
 'Remember the Sabbath day, to keep it holy. Six days you shall labor and do all your work, but the seventh day is the Sabbath of the Lord your God. In it you shall do no work: you, nor your son, nor your daughter, nor your male servant, nor your female servant, nor your cattle, nor your stranger who is within your gates. For in six days the Lord made the heavens and the earth, the sea, and all that is in them, and rested the seventh day. Therefore the Lord blessed the Sabbath day and hallowed it.
 'Honor your father and your mother, that your days may be long upon the land which the Lord your God is giving you.
 'You shall not murder.
 'You shall not commit adultery.
 'You shall not steal.
 'You shall not bear false witness against your neighbor.
 'You shall not covet your neighbor's house; you shall not covet your neighbor's wife, nor his male servant, nor his female servant, nor his ox, nor his donkey, nor anything that is your neighbor's.'
Our UCG Bible Commentary says this about the Ten Commandments in Exodus 20:
"Though they were already known before this, here is the first written record we have of all of God's Ten Commandments together-commandments that are founded on His most basic law of love (Mark:12:29-31). The first four show us how to have a loving relationship with God. The last six reveal how we can share a loving, respectful relationship with our fellow man. Though knowledge of God's laws was clearly available earlier (Genesis:26:5), it appears likely that most of the Israelites had forgotten His requirements during their generations of Egyptian bondage and had to have those laws revealed to them once again.
"Many today believe that it was Moses who gave the Ten Commandments to ancient Israel. But the Bible clearly reveals otherwise. God Himself spoke them with His own voice from the thundercloud above Mount Sinai (Exodus:20:1). And later, God also wrote them Himself-with His own finger-on two 'tablets of stone' (31:18; 24:12; Deuteronomy:5:22). Later still, He even rewrote them (Exodus:34:1). To further define who gave these commandments, we must realize that by Christ's day, centuries later, no one had ever heard God the Father's voice (John:5:37). The 'Lord,' who spoke the commandments, is referred to in the Old Testament as the 'Rock' (Deuteronomy:32:4, 15, 31; Psalm:18:2, 31, 46). And according to the New Testament, 'that Rock was Christ' (1 Corinthians:10:4). Those who think that Jesus did away with His Father's commandments are sorely mistaken. In His Sermon on the Mount (Matthew 5-7), He 'filled' the commandments by explaining their spiritual intent, in essence making them even more applicable to us (5:17-20). Indeed, Christ is the One who gave the commandments on the Father's behalf in the first place-both to Israel and the New Testament Church!
"The giving of the law was such a tremendous event that the Israelites feared for their lives. They could not only hear but also feel the ground shaking due to the thunder and the sound of trumpets. There were brilliant flashes of lightning and the mountain smoked. God was exhibiting a fraction of His greatness and glory before His chosen people. This awesome display was not intended to terrorize the people, because God was not there to harm them. God's purpose was to teach them awe and respect for Him, so that they would not sin (verse 20). It should have been a very humbling experience for the Israelites. But as God said: 'Oh, that they had such a heart in them that they would fear Me and always keep all My commandments, that it might be well with them and with their children forever!' (Deuteronomy:5:29). As we will read, the respect and obedience did not last long."
For more information, please read our booklet The Ten Commandments .