Shaikhul Islaam Ibn Taymiyyah (rahimahullaah) said:
''The performance of good deeds has praiseworthy outcomes internally and externally, and likewise, sins have (evil outcomes internally and externally). Allaah (The Most High) created the means to this and the means to that, just as He (The Most High) made poison a means to falling ill and death. The means towards (performing) evil have their means to preventing their occurrence. Repentance and righteous actions wipes away evil deeds and calamities in the worldly life are an expiation for evil deeds.’’
Source: Tareequl Wusool Ilaa Ilmul Ma’mool Bi-Ma-rifatil Qawaa-id Wad-Dawaabit Wal-Usool; by Imaam Sadi (rahimahullaah)