Relational naʿt always agrees with the described noun in gender.

The Tawābiʿ and Naʿt: Direct and Relational Attributes