English translation
6689. Narrated 'Umar bin Al-Khaṭṭāb رضي الله عنه: I heard Allāh's Messenger ﷺ saying, "The (reward of) deeds depend upon the intentions; and every person will get the reward according to what he has intended. So whoever emigrates for the sake of Allāh and His Messenger, then his emigration will be considered to be for Allāh and His Messenger, and whoever emigrates for the sake of worldly gain or to marry a women, then his emigration will be considered to be for what he emigrated for."(1)
