وَمَنْ يَعْمَلْ مِنَ الصَّالِحَاتِ مِنْ ذَكَرٍ أَوْ أُنْثَىٰ وَهُوَ مُؤْمِنٌ
“Whoever performs righteous deeds, male or female, while being a believer…” (Al-Nisāʾ 4:124)
The verse speaks of being a believer as a condition in its description of righteous deeds. The argument distinguishes the state of faith from the actions performed under that condition.
However, being a condition and being a constituent are different technical notions. The verse illuminates the direction of the argument, but one must still read the various theological definitions in their own precise senses.