The Prophet (ﷺ) said, "The (reward of) deeds depend on intentions, and every person will…

Sahih al-Bukhari Book 49 Hadith 14

Sahih al-Bukhari #2529

Manumission of Slaves 49:14

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 and His Apostle, and whoever migrated for worldly benefits or for marrying a woman, then his migration will be for what he migrated for." (See Hadith No. 1, Vol. 1)

Chapter: Manumission and divorce by mistake or forgetfulness

Grade: Sahih