اتَّقِ اللَّهَ حَيْثُ مَا كُنْتَ، وَأَتْبِعِ السَّيِّئَةَ الْحَسَنَةَ تَمْحُهَا
Be mindful of Allah wherever you are, and follow a bad deed with a good deed, which will erase it.
Source: أحمد والترمذي
اتَّقِ اللَّهَ contains the singular imperative اتَّقِ: “be mindful of Allah.” حَيْثُ مَا كُنْتَ means “wherever you are”; the ending تَ in كُنْتَ addresses one person.
وَأَتْبِعِ السَّيِّئَةَ الْحَسَنَةَ instructs one to follow a wrong deed with a good one. تَمْحُهَا means “it erases it,” where ـهَا refers back to the wrong deed. The lesson offers a way back through repentance and correction rather than despair after wrongdoing.