“All deeds are judged by intention, and every person will be rewarded according to their intention.”

Muhammad Sahih Bukhari 1 (narrator: Umar ibn al-Khattab, reporting from the Prophet) — Grade: Sahih (authentic) — Opening hadith of Sahih Bukhari