All forty hadith

The 40 Hadith of Imam an-Nawawi · Hadith 27

Righteousness and sin

What the heart already knows

عَنْ النَّوَّاسِ بْنِ سَمْعَانَ رَضِيَ اللهُ عَنْهُ عَنْ النَّبِيِّ صلى الله عليه و سلم قَالَ: "الْبِرُّ حُسْنُ الْخُلُقِ، وَالْإِثْمُ مَا حَاكَ فِي صَدْرِك، وَكَرِهْت أَنْ يَطَّلِعَ عَلَيْهِ النَّاسُ"

Righteousness is in good character, and wrongdoing is that which wavers in your soul, and which you dislike people finding out about. [Muslim] And on the authority of Wabisah bin Ma’bad (may Allah be pleased with him) who said: I came to the Messenger of Allah (peace and blessings of Allah be upon him) and he (peace and blessings of Allah be upon him) said, “You have come to ask about righteousness.” I said, “Yes.” He (peace and blessings of Allah be upon him) said, “Consult your heart. Righteousness is that about which the soul feels at ease and the heart feels tranquil. And wrongdoing is that which wavers in the soul and causes uneasiness in the breast, even though people have repeatedly given their legal opinion [in its favour].” A good hadeeth transmitted from the musnads of the two imams, Ahmed bin Hambal and Al- Darimi, with a good chain of authorities.

On the authority of an-Nawas bin Sam’an (may Allah be pleased with him), that the Prophet (peace and blessings of Allah be upon him) said:

The Prophet ﷺ gives two short, luminous definitions. Righteousness, al-birr, is good character. And sin is what wavers in your chest, what you would hate other people to discover about you. In a related narration he tells a man: consult your heart, even if the people give you their verdicts.

He is pointing to something Allah placed inside every sound soul: a conscience that flickers when we cross a line, a quiet unease that the heart feels before the mind can argue.

Where this hadith comes from

This hadith reaches us through two Companions, and that is part of why it carries such weight. The first half, righteousness is good character and sin is what wavers in your chest, was narrated by an-Nawwas ibn Sam'an (ra) and collected by Imam Muslim in his Sahih. The second half, the counsel to consult your heart, was narrated by Wabisah ibn Ma'bad (ra) and recorded in the Musnad of Imam Ahmad and by ad-Darimi with a good (hasan) chain.

Imam an-Nawawi placed it among his forty as a cornerstone of the inner life, the hadith that defines righteousness and sin not by a list but by the state of the heart. The two narrations sit side by side because they say the same thing from two directions: one names what righteousness and sin are, the other tells you where to find them.

The key words

What it means, line by line

Righteousness is good character: asked about al-birr, the whole of what is good, the Prophet (peace be upon him) answered with akhlaq. He did not begin with ritual but with how a person treats others, placing gentleness, honesty, and warmth at the heart of being righteous before Allah. Then sin: it is what wavers in your chest and what you would hate others to discover. Sin is named by the flinch it produces, the churn of a healthy conscience and the instinct to hide.

And so Wabisah's narration completes it: consult your heart. A sound heart often knows, even when others reassure you and you can find a justification, because Allah built a moral sense into the soul. The Qur'an roots this in the very making of the self: Allah inspired the soul with its wrongdoing and its piety (91:8), then declared who wins and who loses by what they do with it.

Righteousness is good character

It is striking that when asked about birr, righteousness, the Prophet ﷺ did not list rituals first. He said: good character. So much of what makes a person truly righteous is how they treat others, their gentleness, honesty, patience, and warmth. Worship and character are not rivals; but this hadith makes sure we never imagine we are righteous while being cruel.

Good character, then, is not a side virtue. It sits at the very centre of what it means to be a good person before Allah, the visible fruit of a heart turned toward Him.

Sin is what the heart flinches from

Then the definition of sin, and it is psychological before it is legal: sin is what wavers in your chest, what you would hate others to see you doing. The Prophet ﷺ is describing the inner flinch, the discomfort a healthy conscience feels at wrongdoing, the instinct to hide it.

And so the famous counsel: consult your heart. Even when others reassure you, even when you can find a justification, a sound heart often knows. This is not a licence to ignore knowledge and follow feelings; it is a recognition that Allah built a moral sense into us, one that, when kept clean, recognises wrong even before we can name why.

Keeping the conscience honest

But the Prophet ﷺ gave this advice to a Companion with a sound, sincere heart, and that is the catch. A conscience can be trained or deadened. Constant sin, bad company, and silencing the inner flinch dull it until wrong no longer registers; sincerity, worship, and lawful living keep it sensitive and true.

So this hadith is also a call to guard the instrument. Purify the soul, and it becomes a reliable guide that recognises righteousness and recoils from sin. Corrupt it, and you lose the very sense that was meant to bring you home. He succeeds who keeps the soul clean.

Carry this with you

Allah placed a conscience in you. Keep it clean, and consult it.

  • Righteousness is good character.

    Not ritual alone, but how you treat others. We are never righteous while being cruel.

  • Sin makes the heart waver.

    It is what unsettles your chest and what you would hate others to see. Notice the inner flinch.

  • Consult your heart.

    A sound heart often knows, even when others reassure you and you can find a justification.

  • Guard the conscience.

    Sin and bad company deaden it; sincerity and clean living keep it true. He succeeds who purifies the soul.

A du'a to carry

رَّبِّ ٱغْفِرْ وَٱرْحَمْ وَأَنتَ خَيْرُ ٱلرَّٰحِمِينَ

Rabbi-ghfir warham wa Anta khayru r-rahimin

My Lord, forgive and have mercy, and You are the best of the merciful. (Al-Mu'minun 23:118)

A du'a for a clean heart

The Prophet ﷺ trusted you with something profound: that Allah placed inside you a sense of right and wrong, a heart that glows at goodness and flinches at sin, often before the mind can explain why.

Your work is to keep that heart clean enough to hear. Purify it with sincerity and good, protect it from what deadens it, and then, in the unclear moments, consult it, and have the courage to follow what it already knows.

O Allah, purify our souls and make our hearts true. Let righteousness feel like home to us and sin feel like exile, and forgive us and have mercy on us, for You are the best of the merciful. Ameen.

The hadith is from sunnah.com: 'Righteousness is good character, and sin is what wavers in your soul...' narrated by an-Nawwas ibn Sam'an (ra) (Sahih Muslim 2553) and Wabisah (ra) (Ahmad and others), graded sahih / hasan. Qur'an citations (91:9-10 and 23:118) are in Uthmani script verified via quran.ai (ar-uthmani-minimal) with the Saheeh International translation. Per the editorial policy this stays with character and conscience. FOR SCHOLAR REVIEW before publication.

Questions

Why did the Prophet ﷺ define righteousness as good character?
To stop us from imagining we can be righteous while treating people badly. Worship and good character belong together, but by answering 'righteousness is good character,' the Prophet ﷺ placed how we treat others at the very heart of being a good person before Allah.
What does 'sin is what wavers in your chest' mean?
It describes the inner unease a healthy conscience feels at wrongdoing, the flicker of discomfort and the instinct to hide the act from others. The Prophet ﷺ defined sin partly by this inner experience, not only by an external rule.
Does 'consult your heart' mean I can ignore religious rulings?
No. The advice was given to a Companion with a sincere, well-trained heart, and it never overrides clear knowledge from the Qur'an and Sunnah. It recognises the God-given conscience as a guide in unclear moments, especially when others rationalise something the heart still flinches from.
Can the conscience be wrong?
Yes, if it is deadened. Persistent sin, bad company, and ignoring the inner flinch dull the heart until wrong stops registering, while sincerity, worship, and lawful living keep it sensitive. That is why the hadith implies a clean heart, and the Qur'an praises the one who purifies the soul.

What stayed with you?

A private note, kept only on this device. Find it again on your journey page.

One hadith a day, in your calendar.

Subscribe, free