Abraham was justified not by his works of obedience, but by his faith, which produced the works of obedience. God had promised to make Abraham a blessing through his descendants (Genesis 12:1-3), Abraham trusted in that promise and by faith he obeyed God's commands.
It is not the obedience of a command that saves anyone, salvation has always been granted on the basis of personal faith. I would urge you to be very careful when someone tries to put their conditions on your salvation, saying things like, "Faith is fine, but it’s really not enough - you must follow our way." Or, "You must be baptized in our church." It is the grace of God that brought salvation to us...why would it now be left solely up to us to continue in our walk with Him? Jesus has promised us that He will change us from the inside...through the power of the Holy Spirit! (Luke 24:49) You see, no rule or regulation can do more for you than what Jesus did on the cross...His sacrifice for us was a one time - for all time event, never needing to be repeated!
The Lord, in Isaiah 28:16 said, "Behold, I lay in Zion a stone for a foundation, a tried stone, a precious cornerstone, a sure foundation..." What an encouragement for us...that we don't have to put our trust in our own abilities, or the rules and regulations of others...our trust is in the solid, sure foundation of Christ!