The Virtue of Sincere Intention and Righteous Deeds
The virtue of deeds depends on the correctness of the intention, obedience to Allah, and firm faith:
إن الله لا ينظر إلى صوركم وأموالكم وإنما ينظر إلى قلوبكم وأعمالكم
“Allah does not look at your outward appearance, but He looks at your hearts and your deeds.”
An evil intention will be punished and neglecting an obligation will bring a penalty, and because of this, hardships arise in this world and in the Hereafter. Whatever calamity befalls a person comes because of his evil deeds. Allah says:
إِنْ أَحْسَنْتُمْ أَحْسَنْتُمْ لِأَنْفُسِكُمْ ۖ وَإِنْ أَسَأْتُمْ فَلَهَا ۚ
“If you do good, it is good for your own selves, and if you do evil, it proves to be evil for your own selves.”
وَمَا أَصَابَكُم مِّن مُّصِيبَةٍ فَبِمَا كَسَبَتْ أَيْدِيكُمْ وَيَعْفُو عَن كَثِيرٍ
“And whatever calamity befalls you is from what your own hands have earned. And He pardons much besides.”
The commentators have written that provision, well-being and good health are blessings from Allah, and that afflictions and hardships descend because of a person’s sins.