Romans 4:5-6

4: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.

4:6 So even David himself speaks regarding the blessedness of the man to whom God credits righteousness apart from works:

Romans 4:24-25

4:24 but also for our sake, to whom it will be credited, those who believe in the one who raised Jesus our Lord from the dead. 4:25 He was given over because of our transgressions and was raised for the sake of our justification.