On Sincerity and having an intention for all actions, words and states, outward and inward
Allah Almighty says, "They were only ordered to worship Allah, making their deen sincerely His as people of pure natural belief, and to establish the prayer and pay zakat that is the correct deen," (98:5) and the Almighty says, "Their flesh and blood does not reach Allah but your fear of Him does reach Him." (W22:35; H322:37) and the Almighty says, "Say, 'Whether you conceal what is in your breasts or make it known, Allah knows it.'" (3:29)
1. The Amir al-Mu'minin, Abu Hafs 'Umar ibn al-Khattab said, "I heard the Messenger of Allah, may Allah bless him and grant him peace, say, 'Actions only go by intentions. Everyone gets what they intend. Anyone, therefore, who emigrates to Allah and His Messenger, his emigration is indeed to Allah and His Messenger. But anyone who emigrates to gain something of this world or to marry a woman, his emigration is to that to which he emigrated.'" [Agreed to be sound]
10. Abu Hurayra reported that the Messenger of Allah, may Allah bless him and grant him peace, said, "The group prayer of a man is some twenty degrees higher than his prayer in his business or his house. That is because when one of you does wudu' thoroughly and then goes to the mosque with no other object than that of doing the prayer, without being impelled by anything other than the prayer, Allah will raise him up a degree with every step he takes, and a wrong action will also fall away from him, until he enters the mosque. When he enters the mosque, he is in prayer the whole time he is waiting for it and the angels pray for him all the time he is sitting there, saying, 'O Allah! Show mercy to him! O Allah! Forgive him! O Allah! Turn towards him!' as long as he has not caused anyone injury and has not broken wudu'." [Agreed upon. This is the version in Muslim]
11. Abu'l-'Abbas 'Abdullah ibn 'Abdullah ibn 'Abbas ibn 'Abdu'l-Muttalib said that the Messenger of Allah, may Allah bless him and grant him peace, said in what he reported from his Lord, the Mighty and Majestic, "Allah wrote good actions and bad actions and then made that clear. Whoever intends to do a good action and then does not do it, Allah, the Blessed and Exalted, will write a full good action for him. If he intends to do it and then does it, Allah will write ten to seven hundred good actions multiplied many times over. If he intends an evil action and then does not do it, Allah will write a full good action for him. If he intends it and then does it, Allah will write one bad action for him." [Agreed upon]