Sayyiduna Abu Dharr (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) said: "Fear Allah wherever you are, and follow up a bad deed with a good deed which will erase it, and behave with good character towards people."
Brief Explanation
(Commentary on Hadith 2825)
In this hadith, there is instruction regarding taqwa (God-consciousness), and after the occurrence of an evil deed, the command to perform a good deed as expiation, as well as the teaching of good character.