Romans 4:2
4:2
For if Abraham was declared righteous by the works of the law, he has something to boast about – but not before God.
Romans 4:22
4:22
So indeed it was credited to Abraham as righteousness.