Q. How do you know if Allah hates you?
A. Allah does not hate anyone. He dislikes the bad actions and sins committed by a person. These bring about his anger and wrath, and eventually the sinner and transgressor may be punished for his / her wrong deeds.
And Allah knows best.
Mufti Waseem Khan