For softening of hearts
In the earliest era of Islam, to soften the hearts of the people towards Islam, Zakaat used to be given. However, now that Islam has acquired dominance and majesty, truth and falsehood have been clearly delineated, this command has been abrogated. As given in Durre Mukhtaar and Radd Ul Muhtaar (Kitaab Uz Zakaat)