This table keeps definiteness, gender and case aligned. It also makes the accusative exception visible.
FormNominativeAccusativeGenitivemasculine without alهَادٍهَادِيًاهَادٍfeminine without alهَادِيَةٌهَادِيَةًهَادِيَةٍmasculine with alالْهَادِيالْهَادِيَالْهَادِيfeminine with alالْهَادِيَةُالْهَادِيَةَالْهَادِيَةِ
In the masculine form without ال, nominative and genitive omit ya, while accusative keeps it. With ال, the masculine ya remains visible.