Arabs may refer to women as ni^aj. However, it is not permitted to interpret the word an-ni^aj in this verse as “women”, as some interpreters did. They caused a great deal of harm with their misinterpretation, which became famous by claiming that “Prophet Dawud had 99 women and his army’s leader had one beautiful one.” It continues to claim that Prophet Dawud liked that woman, so he sent his leader to battle to die there so that Dawud would marry her after. Such an interpretation is corrupt, because this does not befit any of the Prophets.
Imam Ibn al-Jawziyy in [his book] ‘The Interpretation’, after citing this fabricated story about our master Dawud, said, “… and this [story] is not authentic through the route of narration and is not permissible by the meaning [it conveys].” That is so because Prophets are protected (impeccable) from such acts. As for Prophet Dawud, asking Allah for forgiveness, it was because he ruled for the two [brothers] after hearing from one of them and before hearing from the other.