Fear Allah wherever you are; follow a bad deed with a good one to wipe it out; and treat people with good character.
Sunan al-Tirmidhi 1987
Sunan al-Tirmidhi 1987

“Fear Allah wherever you are; follow a bad deed with a good one to wipe it out; and treat people with good character.”

The Prophet (ﷺ) enjoins three things: First: fear of Allah, by fulfilling the duties and avoiding the prohibitions, in every place, time, and condition, and in secret and public, and at good times and bad ones, and so on.

The plain meaning, from HadeethEnc

The full passage

‌عَنْ ‌أَبِي ‌ذَرٍّ، ‌جُنْدُبِ ‌بْنِ ‌جُنَادَةَ، ‌وَأَبِي ‌عَبْدِ ‌الرَّحْمَنِ، ‌مُعَاذِ بْنِ جَبَلٍ رَضِيَ اللَّهُ عَنْهُمَا عَنْ رَسُولِ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ: «اتَّقِ اللَّهَ حَيْثُمَا كُنْت، وَأَتْبِعْ السَّيِّئَةَ الْحَسَنَةَ تَمْحُهَا، وَخَالِقْ النَّاسَ بِخُلُقٍ حَسَنٍ».

Abu Dharr, Jundub ibn Junādah, and Abu ‘Abdur-Rahmān, Mu‘ādh ibn Jabal (may Allah be pleased with both of them) reported that the Messenger of Allah (ﷺ) said: "Fear Allah wherever you are; follow a bad deed with a good deed and it will erase it; and treat people with good morals."

Sunan al-Tirmidhi 1987The Arabic it was clipped from
The explanation

What does Sunan al-Tirmidhi 1987 mean?

Narrated by Abu Dharr and Mu‘adh ibn Jabal, recorded by al-Tirmidhi, who graded it hasan. Three instructions, and the middle one is the reason the other two are liveable: it assumes you will fall short. The scholars list what counts as the good deed that follows — a prayer, a charity, a kindness, restoring a family tie, repentance — and the third instruction turns the whole thing outward.

Written from HadeethEnc

Where it sits