In «ذَا مَالٍ», «مَالٍ» is the genitive second term of iḍāfa.Noun Case Classes: Type 4 — The Six Nouns