In «خاتم حديدٍ», ḥadīdin is accusative tamyīz.

At-Tamyīz: Clarifying Quantities and Sentence Relations