(هَا) - Her
This is an attached pronoun for the pronoun (هِيَ).
It is used for belongings/ownership.
Her book = كِتَابُهَا
كِتَابٌ + هَا(هِيَ)
Her grandfather = جَدُّهَا
جَدٌّ + هَا(هِيَ)
Difference between separated pronouns(SP) and attached pronouns(AP):
1. SP: Nouns are after the pronouns.
AP: Nouns are before the pronouns.
2. SP: Nouns and pronouns must be of the same gender. AP: Nouns and pronouns are not required to be of the same gender.
3. SP: The nouns must be referring to human only. AP: Nouns can be objects/human.
The only thing you need to take note of is who/what the attached pronouns are referring to.
If it refers to feminine nouns, then be sure to use feminine pronouns.
Also to take note of the context, if it is referring to someone you’re talking to right now(you), then use the attached pronouns to address the right owner and their gender.
*When we attached the pronouns to the nouns, the nouns should not have ال at the front nor tanwin (ً ٌ ٍ ) at the end of word.