The Intention and Its Relation to Acceptance of Deeds

For actions to be accepted and rewarded by Allah there are two crucial prerequisites: Sincerity or having a valid intention & Performing the action properly