NET
5 But to the one who does not work, but believes in the one who declares the ungodly righteous, his faith is credited as righteousness.
Darby
5 but to him who does not work, but believes on him who justifies the ungodly, his faith is reckoned as righteousness.
KJV
5 But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness.