Hadith 27 & 28 — The Inner Compass and the Outer Path
[Arabic,إِنَّ الْحَمْدَ لِلَّهِ، نَحْمَدُهُ وَنَسْتَعِينُهُ وَنَسْتَغْفِرُهُ، وَنَعُوذُ بِاللَّهِ مِنْ شُرُورِ أَنْفُسِنَا وَسَيِّئَاتِ أَعْمَالِنَا، مَنْ يَهْدِهِ اللَّهُ فَلَا مُضِلَّ لَهُ، وَمَنْ يُضْلِلْ فَلَا هَادِيَ لَهُ، وَأَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللَّهُ وَحْدَهُ لَا شَرِيكَ لَهُ، وَأَشْهَدُ أَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ.]
Indeed, all praise is for Allah. We praise Him, seek His help, and His forgiveness. We seek refuge with Allah from the evil within ourselves and from the consequences of our wrong actions. Whomsoever Allah guides, none can misguide; whomsoever He leaves astray, none can guide. I bear witness there is no deity worthy of worship but Allah alone without partner, and Muhammad ﷺ is His servant and Messenger.
Part One
Brothers, we return today to our study of Imam Nawawi's forty hadiths, picking up where we left off before Ramadan with two teachings that give the believer his two compasses. Hadith 27 gives us the compass inside the chest — the measure of righteousness that Allah placed in the heart of every sincere believer. Hadith 28 gives us the compass outside — the Sunnah of the Prophet ﷺ and the path of those he trained to carry the religion after him. Inner guide. Outer guide. Together they keep a man straight when everything around him is trying to twist him.
Let us begin with Hadith 27, narrated by An-Nawwas bin Sam'an, may Allah be pleased with him. The Prophet ﷺ said:
[Hadith,Sahih Muslim,"Righteousness is good character, and sin is what wavers in your soul and you would hate for people to find out about it."]
Imam Nawawi also includes a second narration of this same hadith, from Wabisah bin Ma'bad, may Allah be pleased with him. Wabisah said: I came to the Messenger of Allah ﷺ and he said:
[Hadith,Musnad Ahmad and Sunan al-Darimi (hasan),"You have come to ask about righteousness? I said: Yes. He said: Consult your heart. Righteousness is that about which the soul feels at peace and the heart feels tranquil. And sin is what wavers in the soul and rebounds back and forth in the chest, even though people give you their opinion in its favor again and again."]
Subhan'Allah. In a few short phrases, the Prophet ﷺ gave us a complete internal standard by which to judge ourselves. Let us break this down carefully, because every phrase carries weight.
First: "Righteousness is good character."
The Prophet ﷺ did not say righteousness is long prayers. He did not say it is endless fasting. He did not say it is piling up worship the eye can see. He said al-birr husn al-khuluq — righteousness is good character.
This is not a small statement. Think about it: the Prophet ﷺ took the biggest, broadest word in the religion — birr, which Allah uses in the Quran to describe paradise itself — and he summarized it in one phrase. Good character.
Allah says in Surah al-Baqarah:
[Quran,2:177,"Righteousness is not in turning your faces towards the east or the west. Rather, the righteous are those who believe in Allah, the Last Day, the angels, the Books, and the prophets; who give charity out of their cherished wealth to relatives, orphans, the poor, ˹needy˺ travelers, beggars, and for freeing captives; who establish prayer, pay alms-tax, and keep the pledges they make; and who are patient in times of suffering, adversity, and in ˹the heat of˺ battle. It is they who are true ˹in faith˺, and it is they who are mindful ˹of Allah˺."]
Look at this verse. Allah begins with belief. Then He moves to generosity — giving to relatives, orphans, the poor. Then establishing prayer, keeping promises, patience in hardship. All of it is the shape of a character — a person whose heart is soft to others, whose word is reliable, whose patience holds under pressure.
The Prophet ﷺ said:
[Hadith,Sunan al-Tirmidhi (sahih),"The believers who have the most complete iman are those who have the best character."]
Your iman and your character are not two separate files. They are one file. If your iman is real, it will show up in how you treat your brother when he wrongs you. How you speak about a man when he is not in the room. How you respond when the officer is short with you and no one is watching but Allah. Prayer without character is like a body without bones — it will not stand. The Prophet ﷺ warned us plainly:
[Hadith,Musnad Ahmad (sahih),"A man reaches, through good character, the rank of the one who prays the night and fasts the day."]
You can reach the station of the night-prayer warrior without staying up all night — by controlling your tongue, your anger, and your dealings with the men around you. Good character is reward-multiplying worship that you perform every time you interact with another human being.
Second: "Sin is what wavers in your soul and you would hate for people to find out about it."
After defining righteousness, the Prophet ﷺ defines sin. And look at the definition: not a list of acts. Not a legal code. He defined sin by what it does inside you.
Sin is mā ḥāka fī nafsik — what wavers, what scratches, what agitates in your soul. The Arabic word ḥāka is used for a branch rubbing back and forth against a wall. It is the feeling of something that does not sit right, that keeps coming back, that you cannot quite ignore.
And then he adds the second sign: you would hate for people to find out about it. If you are doing something in private and the thought of someone walking in on you makes your stomach drop — that is the sign. Allah placed that alarm system inside every believer. It is a gift. Do not override it.
Allah says:
[Quran,75:14-15,"In fact, people will testify against their own souls, despite the excuses they come up with."]
Allah tells us that on the Day of Judgment, a man's own soul will testify against him. Why? Because the soul already knew. The soul was trying to tell him the whole time, and he was drowning it out. That wavering in the chest was the testimony being written while the sin was still happening.
Third: The heart of the sincere believer is a trustworthy instrument.
This is the part that changes how we read the second narration from Wabisah. Consult your heart. Not any heart — the heart of a sincere believer who is trying to submit to Allah. That heart, the Prophet ﷺ says, is a functioning instrument. When it is peaceful about an action, that is a sign of righteousness. When it feels friction, that is a sign to stop.
But brothers, hear this carefully: this is not a free pass for every opinion in your head. There are hearts that have been so corrupted by sin that they feel peaceful about evil and uncomfortable with truth. Allah described such hearts in Surah al-Baqarah:
[Quran,2:10,"There is sickness in their hearts, and Allah ˹only˺ lets their sickness increase."]
And He said of others:
[Quran,2:74,"Even then your hearts became hardened like a rock or even harder."]
A heart hardened by years of major sin is not the heart the Prophet ﷺ was telling us to consult. He was speaking to a believer — a man trying to walk the straight path, whose heart has the light of iman in it, even if imperfectly. That heart, when tested against a decision, becomes a reliable compass. The heart that has been abandoned to sin will give you wrong readings.
So the first step is to heal the heart. You heal it through dhikr, through istighfar, through abandoning known haram, through the five daily prayers, through distance from bad company. And you heal it through knowledge. The heart cannot tell you what is right until it has been taught what is right. A man who has not learned the religion does not have a trained compass — he has a piece of metal. Learning Quran, learning the Sunnah, learning halal and haram — this is how the needle gets calibrated.
Imam Ibn Rajab explained this precisely:
[Quote,Jami' al-Ulum wal-Hikam (Ibn Rajab, Hadith 27),"This applies to the one whose heart has been given insight, who has been given the light of iman and whose heart Allah has expanded for Islam. As for the one whose heart has not been given that, he consults the scholars."]
Read that carefully. Ibn Rajab is telling you the order. The heart becomes a reliable guide after it has been given light. Before that, you consult those who know. For a new Muslim, this is especially important — your heart is still being trained. Trust the Book of Allah and the Sunnah of His Messenger ﷺ first, and over time, as you learn, your heart will begin to recognize the truth on its own. Do not freelance. Ask. Find a brother who knows, find a scholar, read a reliable book. The hadith is not telling you to throw out the Shari'ah and follow your gut. It is telling you that once you have submitted to the Shari'ah and trained your heart through it, the heart itself becomes a second witness to the truth.
Fourth: The fatwa from inside.
In another version of this hadith, the Prophet ﷺ said: istafti qalbak — seek a fatwa from your heart. Even if people give you their opinion, seek a fatwa from your heart.
Brothers, this is directly relevant to your situation here. Men will give you all kinds of opinions. "It is fine to do this, everyone does it here." "This is okay, you are in a hard situation." "No one will ever know." The excuses are endless. But when you lie down at night and your chest is tight, when you do the thing and cannot look at your own reflection after — that is your fatwa. The voices around you said yes; your heart said no. Follow the heart that Allah gave you as a witness. Do not drown it out.
Fifth: "What you would hate for people to find out about."
Let me spend a moment on this test, because it is practical and it is sharp.
The Prophet ﷺ gave us a simple thought experiment. Whatever you are doing, ask: if a righteous man walked in on me right now — a brother I respect, a parent, a person whose opinion I would hate to lose — would I be ashamed? If the answer is yes, that action is a sin. Stop.
This is not because man's opinion matters more than Allah's. Allah's opinion is the only one that ultimately counts. But the test works because Allah placed inside the believer a natural shame — haya — which recoils from the haram even when no one is watching. That shame is a mercy. It is an alarm. When you notice you are going out of your way to hide something even from righteous people, the haram has entered the action.
The Prophet ﷺ said:
[Hadith,Sahih al-Bukhari,"Haya is part of iman."]
Protect your haya. It is your last line of defense when all other defenses fail. And Allah reminds us:
[Quran,91:7-10,"And by the soul and ˹the One˺ Who fashioned it, then inspired it to ˹distinguish between˺ its wickedness and righteousness. Successful indeed is the one who purifies their soul, and doomed is the one who corrupts it."]
The soul has been told. Allah made sure. Purify it, and you succeed. Corrupt it, and you lose. That wavering in your chest is the signal Allah installed. Do not disable it.
Part Two
We now turn to Hadith 28. Hadith 27 gave us the inner compass. Hadith 28 gives us the outer path that the inner compass was calibrated to point toward. This hadith is one of the most famous and weighty in Imam Nawawi's collection, narrated by Al-Irbad bin Sariyah, may Allah be pleased with him. He said:
[Hadith,Sunan Abu Dawud and Sunan al-Tirmidhi (sahih),"The Messenger of Allah ﷺ gave us a stirring sermon that caused hearts to tremble and eyes to overflow with tears. We said: O Messenger of Allah, it is as if this is a farewell sermon, so counsel us. He said: I counsel you to fear Allah, and to listen and obey even if an Abyssinian slave is placed in authority over you. Surely whoever of you lives long will see great disagreement. So hold fast to my Sunnah and the Sunnah of the rightly-guided caliphs after me — cling to it with your molar teeth. And beware of newly-invented matters, for every newly-invented matter is an innovation, and every innovation is misguidance."]
Before we unpack this counsel, understand something. The Prophet ﷺ did not give this counsel to strangers. He gave it to men he had trained for years — men who had sat with him, learned from him, memorized from him. The Sunnah he told them to cling to was not a slogan. It was a body of knowledge they had spent their lives learning. For us — whether we are new to this religion or old — the compass only works if we have done the same. Seeking knowledge of the Book and the Sunnah is not extra credit. It is the work that makes every counsel in this hadith possible.
Subhan'Allah. Look at the scene. The companions are sitting before the Prophet ﷺ. His words are so heavy that strong men are crying and hearts are shaking in chests. They sense the weight — this sounds like goodbye. They plead: awsinaa — counsel us. Give us something to hold onto after you are gone.
And the counsel he gave them is the counsel every Muslim needs until the Day of Judgment. Let us take it piece by piece.
First: "I counsel you to fear Allah."
He begins with taqwa. Before listening, before obeying, before clinging to the Sunnah — fear Allah. Taqwa is the foundation under everything. Without taqwa, a man's obedience is political. Without taqwa, his good character is performance. Without taqwa, his knowledge is a weapon for his ego. Ittaqu Allah — fear Allah — is always the first counsel because it is the root of all the others.
Allah says:
[Quran,49:13,"Surely the most noble of you in the sight of Allah is the most righteous among you."]
The most noble — akramukum — is the most God-fearing. Not the most free. Not the most educated. Not the wealthiest. The one with taqwa. That is Allah's measuring stick, and it does not change based on where you are or what your paperwork says.
Second: "Listen and obey, even if an Abyssinian slave is placed over you."
The Prophet ﷺ then moves to the horizontal relationship: obedience to legitimate authority. He chose the most extreme example on purpose. An Abyssinian slave — a man his audience would have considered the lowest in worldly status — if placed in authority, you listen and obey. Why? Because obedience to legitimate authority protects the community from chaos. The structure matters, not the flesh of the ruler.
This command has a boundary. The Prophet ﷺ said:
[Hadith,Sahih al-Bukhari and Sahih Muslim,"There is no obedience to the creation in disobedience to the Creator. Obedience is only in what is right."]
So: listen and obey in everything that does not contradict Allah's command. In this place, you live under authority every day. Shaytan will whisper to you: resist, argue, fight every rule. The Prophet ﷺ is telling you the opposite. Taqwa first. Then listening and obedience in everything that is not haram. This is not weakness — this is the strength of a man who chose his battles carefully and saved his energy for his Lord.
Third: "Whoever of you lives long will see great disagreement."
Then comes the warning. A prophecy, really. The Prophet ﷺ tells his companions: after I am gone, you will see ikhtilafan kathiran — great, widespread disagreement. Sects. Groups. Conflicting opinions. People calling to different paths, all claiming the truth. We are living in that time. But the Prophet ﷺ did not leave his Umma without an answer. The answer comes next.
Fourth: "Hold fast to my Sunnah and the Sunnah of the rightly-guided caliphs."
This is the anchor. When everyone is calling you to jump ship, you cling to two ropes: the Sunnah of the Prophet ﷺ, and the Sunnah of the Khulafa al-Rashidun — the rightly-guided caliphs. That is Abu Bakr, Umar, Uthman, and Ali, may Allah be pleased with them all. The men the Prophet ﷺ trained. The men who carried the religion after him without adding to it and without subtracting from it.
The Prophet ﷺ said: cling to it bin-nawajidh — with your molar teeth. Not your front teeth. Your molars. The deepest grip you have. When storms come, bite down.
Allah says:
[Quran,3:31,"Say, ˹O Prophet,˺ 'If you ˹sincerely˺ love Allah, then follow me; Allah will love you and forgive your sins. For Allah is All-Forgiving, Most Merciful.'"]
And He says:
[Quran,59:7,"Whatever the Messenger gives you, take it. And whatever he forbids you from, leave it."]
The test of loving Allah is following His Messenger. The test of following His Messenger is holding to what he actually taught — not what your culture prefers, not what is easy in your moment. What he actually taught. And the reason the Prophet ﷺ added the rightly-guided caliphs is that their implementation of his Sunnah is the gold standard. They did not invent a new religion. They preserved his — exactly as he left it.
Fifth: "Beware of newly-invented matters in the religion."
Then the warning. Iyyakum wa muhdathati al-umur — beware of newly-invented matters. Every newly-invented matter in the religion is an innovation, and every innovation is misguidance.
Brothers, the word here is critical: in the religion. The Prophet ﷺ is not banning new cars. He is not banning new technology or new languages or new foods. He is speaking about introducing new forms of worship, new rituals, new ways of drawing near to Allah, that he himself did not teach and his Companions did not practice.
The principle is simple: the religion is complete. Allah said:
[Quran,5:3,"Today I have perfected your faith for you, completed My favour upon you, and chosen Islam as your way."]
The day that verse was revealed, the religion was closed. Sealed. Nothing more to add. Anything added to the religion after the Prophet ﷺ — presented as worship, as a way to earn reward — is by definition an insult. It says: what the Prophet ﷺ delivered was incomplete, and I am going to complete it. No one has that authority. Not any scholar, not any shaykh, not anyone.
The Prophet ﷺ said:
[Hadith,Sahih Muslim,"Whoever does an action that is not in accordance with this matter of ours will have it rejected."]
Rejected. Even if the intention was sincere. If the act has no foundation in what the Prophet ﷺ taught, it does not travel to Allah. Imam Malik said:
[Quote,Al-I'tisam (al-Shatibi),"Whoever introduces an innovation into Islam and considers it good has claimed that Muhammad ﷺ betrayed the message. For Allah said, 'Today I have perfected your faith for you.' So whatever was not religion on that day is not religion today."]
Whoever introduces a new act of worship and considers it a good thing is saying, in effect, that the Prophet ﷺ withheld something from us. That is an accusation against him that no sincere Muslim can make.
Sixth: How this applies to you, right now, in this place.
Brothers, let me bring this home. In this environment, you will encounter men who claim Islam but who teach things that do not trace back to the Prophet ﷺ. Some will invent rituals and call them paths to Allah. Some will take a verse of Quran and twist it to mean the opposite of what Allah said. Some will build their whole teaching on one hadith they cannot even trace back to a source.
Your protection from all of it is one thing: knowledge. Does this teaching come from the Quran and the authentic Sunnah of the Prophet ﷺ, as understood by the companions he trained? If yes — it is from the religion. If no — it is not. And the only way you can tell the difference is by learning the religion itself. If you do not know, ask. Find a brother who knows more than you. Find a reliable book. Find a chaplain you trust. Do not stay in ignorance — because in this environment, the wrong voice will reach you if the right one does not.
Seventh: Inner compass, outer path — one religion.
Now let us tie these two hadiths together. Hadith 27 said: look inside. The heart of the believer, when it is alive and trained, is a witness. Hadith 28 said: look outside. The Sunnah of the Prophet ﷺ and the path of the rightly-guided caliphs is the map.
These are not two religions. They are one religion, checking itself from both sides. Your heart tells you to stop; the Sunnah confirms it. The Sunnah tells you to act; your heart finds peace in the action. When they align, you are on the Straight Path. When they clash, one of them is broken — either your heart has been corrupted and needs healing, or what you thought was the Sunnah is not the Sunnah at all.
And both compasses require the same thing to work: knowledge. The heart has to be taught before it can guide. The Sunnah has to be studied before it can be followed. A man with neither has no compass at all — he has only his desires. A man with both has what the Prophet ﷺ promised us:
[Quran,1:6,"Guide us along the Straight Path."]
We ask for this in every rak'ah. Ask it with full attention. The Straight Path is not an idea. It is a real road. The Prophet ﷺ walked it. The companions walked it. It is available to you, right now, in your cell. Inner compass. Outer path. Knowledge to keep them calibrated. Good character with every man you meet. This is the religion.
O Allah, give us hearts that recognize the truth and souls that settle into it.
O Allah, grant us good character in our dealings and shame that guards us from sin.
O Allah, make us cling to the Sunnah of Your Messenger ﷺ with our molar teeth.
O Allah, protect us from every innovation in our religion, and protect our religion from our own desires.
O Allah, in an age of great disagreement, keep our feet firm on the path of Your Prophet ﷺ and his rightly-guided caliphs.
O Allah, let these two hadiths shape our inner and outer worlds until the day we meet You.
We ask Allah to make us firm upon His straight path, to guide us and not let us go astray, to have mercy on us and forgive us.
Whatever good was said in this khutbah is from Allah alone, and whatever mistakes or errors are from myself and from Shaytan. I ask Allah to forgive me and you for any shortcomings.
I say these words of mine, and I seek forgiveness from Allah for myself and you all. Seek His forgiveness—indeed, He is Most Forgiving, Most Merciful.
[Arabic,أَقُولُ قَوْلِي هَذَا، وَأَسْتَغْفِرُ اللَّهَ لِي وَلَكُمْ، فَاسْتَغْفِرُوهُ إِنَّهُ هُوَ الْغَفُورُ الرَّحِيمُ.]