He said: Allah created happiness and misery before He created the creation. So whoever Allah created happy, He never becomes angry with him. Even if he commits an evil deed, He hates his deed and does not hate him. And if he were miserable, He never loves him. Even if he does righteous deeds, He will love His deeds and hate him for what will happen to him. If Allah loves a thing, He will never hate it; and if He hates something, He will never love it. (al-Kafi, Volume 1, hadith 386)