Romans 4:2

New International Version Bible (NIV)
If, in fact, Abraham was justified by works, he had something to boast about—but not before God.

Read Romans 4:2 in other translations