In The Name of Allaah, The Most Merciful, The Bestower of Mercy.
“The most virtuous Hijrah [migration] is to abandon that which Allaah hates”.
This hadeeth contains a clarification regarding one of the meanings of Hijrah [migration] and its virtue in relation to this meaning. Indeed, it [Hijrah – migration] has been explained [in the hadeeth] by the statement of the Messenger [sallal laahu alayhi Wasallam] that “The most virtuous migration is to abandon that which Allaah hates”. The Lord [i.e. Allaah – The Lord of all that exits] hates all types sins – be it related to statements and deeds, manifest and hidden, small and big. Allaah hates all of them and [threatens to] punish [the one commits them], because they are forbidden, just as Allaah hates deficiencies [i.e. in that which a person has been commanded] in the absence of a legislated excuse. Therefore, it is obligatory to hate what the Lord [Allaah] hates and to love that which He loves for His slaves, for indeed in that there is abundant good in this life, in the grave and in the hereafter. [An Excerpt from At-taleeqaatul Maleehah Alaa Silsilah Al-Ahaadeeth As-Saheehah. Vol 1. page 471. Slightly paraphrased]