Sahih Bukhari
2529
Narrated `Umar bin Al-Khattab: The Prophet said, The (reward of) deeds depend on intentions, and every person will get the reward according to what he intends. So, whoever migrated for Allah and His Apostle, then his migration will be for Allah..
READ COMPLETE