Romans 4:5

New International Version Bible (NIV)
However, to the one who does not work but trusts God who justifies the ungodly, their faith is credited as righteousness.

Read Romans 4:5 in other translations