He said that there were no 10 commandments before Mt. Sinai....but there are several scriptures referencing God's commandments before that...I'm not sure what you are studying, nor why you didn't agree with Dave L, but don't forget that anything God says is a commandment. (Just as anything Jesus said was a commandment). Abraham and God spoke together, and Abraham did what He said, plain and simple. Abraham's faith to believe God was why it was imputed to him as righteousness. Also sacrifices were brought down through the generations as offering for sin, thus Abraham kept God's statutes - blood covers sin. Abraham did not have the Ten Commandments as it was a COVENANT. They were the only commands God gave to Moses on Mt. Sinai and were engraved on stone, the glory of which was fading away when the New Covenant replaced it. 2 Corinthians 3:7-11; Galatians 3:19-25.
There is always a sign of a covenant when one is made. The sign of the covenant between God and Abraham was circumcision. The sign of the Old Covenant, the Ten Commandments was the Sabbath. And the sign of the New Covenant is the Cup of the New Covenant (1 Corinthians 11:25)
We no longer circumcise the flesh as law anymore. It was fulfilled in Christ - He is the SEED from that member of the body. We no longer keep the Sabbath anymore. It was fulfilled in Christ. Since creation everything points to Christ as creator and redeemer. Faith is that Rest.
Can you see two different sets of commandments here:
John 15:10
If you keep My commandments, you will abide in My love, just as I have kept My Father’s commandments and abide in His love.
What are the commandments of the New Covenant? They are what Jesus constantly preached.
1 John 3:23
And this is His commandment: that we should believe on the name of His Son Jesus Christ and love one another, as He gave us commandment.
Now look up every time the apostle John used the word command(ment) (s) and replace in your thinking 1 John 3:23. Note that these commandments come from the Father also, so replace His previous commandments which were holy but at a bottom level of righteousness, with these given through His Son with saving power.
If you are wondering if anything God says as a command can be taken away, don't forget God told Abraham to kill his son, Isaac. Then had an angel catch his arm as he was about to stab his son on the alter, cancelling His commandment. From the moment God spoke the commandment to Abraham, Abraham saw his son as dead. It then took 3 days to arrive at the location. The ram representing the true sacrifice, Jesus, let Isaac go free.
God made a covenant with Abraham that if he and his descendants would keep His commandments, be perfect and circumcise their male children, God would bless them and be their God. God promised to make Abraham a father of many nations and to give him the land of Canaan.
I am under the impression that these commandments were the same in context.