Ṣāliḥun agrees as adjective of rajulun.
Choosing the Correct Parsing: Meaning, Governance and Context