Ali ibn Abi Talib: 6 Authentic Hadith on His Virtues
Contents
Ali ibn Abi Talib (may Allah be pleased with him) was the cousin of the Prophet ﷺ, the husband of his daughter Fatimah, the father of al-Hasan and al-Husayn, and the fourth caliph of Islam. He grew up in the Prophet’s ﷺ house and was among the very first to believe. Many things are said about him online, and not all of them are authentic. Here are six hadith about Ali ibn Abi Talib whose grades we have checked, from Sahih al-Bukhari, Sahih Muslim and Jami‘ at-Tirmidhi.
At a glance
- Hadith: 6
- Collections: Sahih al-Bukhari (3), Sahih Muslim (2), Jami‘ at-Tirmidhi (1)
- Grade: Five in Sahih al-Bukhari or Sahih Muslim; one Sahih (Darussalam)
- Topic: Companions of the Prophet ﷺ
- Do it today: Before you sleep tonight, say SubhanAllah 33 times, Alhamdulillah 33 times and Allahu Akbar 34 times, as the Prophet ﷺ taught Ali and Fatimah
1. Loved by Allah and His Messenger
Sahl ibn Sa‘d (may Allah be pleased with him) describes the night before the conquest of Khaybar, when every Companion hoped to be the one given the flag.
لأُعْطِيَنَّ هَذِهِ الرَّايَةَ رَجُلاً يَفْتَحُ اللَّهُ عَلَى يَدَيْهِ يُحِبُّ اللَّهَ وَرَسُولَهُ وَيُحِبُّهُ اللَّهُ وَرَسُولُهُ. قَالَ فَبَاتَ النَّاسُ يَدُوكُونَ لَيْلَتَهُمْ أَيُّهُمْ يُعْطَاهَا - قَالَ - فَلَمَّا أَصْبَحَ النَّاسُ غَدَوْا عَلَى رَسُولِ اللَّهِ صلى الله عليه وسلم كُلُّهُمْ يَرْجُونَ أَنْ يُعْطَاهَا فَقَالَ أَيْنَ عَلِيُّ بْنُ أَبِي طَالِبٍ. فَقَالُوا هُوَ يَا رَسُولَ اللَّهِ يَشْتَكِي عَيْنَيْهِ - قَالَ - فَأَرْسَلُوا إِلَيْهِ فَأُتِيَ بِهِ فَبَصَقَ رَسُولُ اللَّهِ صلى الله عليه وسلم فِي عَيْنَيْهِ وَدَعَا لَهُ فَبَرَأَ حَتَّى كَأَنْ لَمْ يَكُنْ بِهِ وَجَعٌ فَأَعْطَاهُ الرَّايَةَ فَقَالَ عَلِيٌّ يَا رَسُولَ اللَّهِ أُقَاتِلُهُمْ حَتَّى يَكُونُوا مِثْلَنَا. فَقَالَ انْفُذْ عَلَى رِسْلِكَ حَتَّى تَنْزِلَ بِسَاحَتِهِمْ ثُمَّ ادْعُهُمْ إِلَى الإِسْلاَمِ وَأَخْبِرْهُمْ بِمَا يَجِبُ عَلَيْهِمْ مِنْ حَقِّ اللَّهِ فِيهِ فَوَاللَّهِ لأَنْ يَهْدِيَ اللَّهُ بِكَ رَجُلاً وَاحِدًا خَيْرٌ لَكَ مِنْ أَنْ يَكُونَ لَكَ حُمْرُ النَّعَمِ
Allah’s Messenger (ﷺ) said on the Day of Khaibar: “I would certainly give this standard to a person at whose hand Allah would grant victory and who loves Allah and His Messenger, and Allah and His Messenger love him also.” The people spent the night thinking as to whom it would be given. When it was morning the people hastened to Allah’s Messenger (ﷺ), all of them hoping that it would be given to him. He said: “Where is ‘Ali b. Abu Talib?” They said: “Allah’s Messenger, his eyes are sore.” He then sent for him and he was brought, and Allah’s Messenger (ﷺ) applied saliva to his eyes and invoked blessings, and he was all right, as if he had no ailment at all, and conferred upon him the standard. ‘Ali said: “Allah’s Messenger, I will fight them until they are like us.” Thereupon he said: “Advance cautiously until you reach their open places, thereafter invite them to Islam and inform them what is obligatory for them from the rights of Allah, for, by Allah, if Allah guides aright even one person through you, that is better for you than to possess the most valuable of the camels.”
Sahih Muslim 2406 · Narrated by Sahl ibn Sa‘d · Translation adapted from Sunnah.com
The Prophet ﷺ described the man before naming him: someone who loves Allah and His Messenger and is loved by them. Then he named Ali. HadeethEnc draws from it the virtue of Ali and the Prophet’s ﷺ own testimony that Allah and His Messenger love him (HadeethEnc 3409). Notice the last instruction too: guiding one person to Islam is better than the finest wealth of the Arabs.
Try this: ask yourself what Allah and His Messenger ﷺ would see in your day today, and add one act done only for love of them.
2. Like Harun to Musa
Sa‘d ibn Abi Waqqas (may Allah be pleased with him) reports what the Prophet ﷺ said when he left Ali behind in Madinah during the expedition to Tabuk.
خَرَجَ إِلَى تَبُوكَ، وَاسْتَخْلَفَ عَلِيًّا فَقَالَ أَتُخَلِّفُنِي فِي الصِّبْيَانِ وَالنِّسَاءِ قَالَ أَلاَ تَرْضَى أَنْ تَكُونَ مِنِّي بِمَنْزِلَةِ هَارُونَ مِنْ مُوسَى إِلاَّ أَنَّهُ لَيْسَ نَبِيٌّ بَعْدِي
Allah’s Messenger (ﷺ) set out for Tabuk, appointing ‘Ali as his deputy (in Madinah). ‘Ali said, “Do you want to leave me with the children and women?” The Prophet (ﷺ) said, “Will you not be pleased that you will be to me like Aaron to Moses? But there will be no prophet after me.”
Sahih al-Bukhari 4416 · also Sahih Muslim 2404a · Narrated by Sa‘d ibn Abi Waqqas · Translation adapted from Sunnah.com
Ali wanted to go out with the army, not stay at home with the women and children. The Prophet ﷺ comforted him with a comparison from the Quran: when Musa went to meet his Lord, he left his brother Harun in charge of his people (see our article on Prophet Harun in Islam). In the same breath he closed a door: there will be no prophet after him.
Try this: if you are asked to stay behind and look after others while friends go out, take it as trust, not as being left out.
3. Only a believer loves him
Here Ali himself swears to a promise the Prophet ﷺ made him. Zirr ibn Hubaysh heard him say it.
وَالَّذِي فَلَقَ الْحَبَّةَ وَبَرَأَ النَّسَمَةَ إِنَّهُ لَعَهْدُ النَّبِيِّ الأُمِّيِّ صلى الله عليه وسلم إِلَىَّ أَنْ لاَ يُحِبَّنِي إِلاَّ مُؤْمِنٌ وَلاَ يُبْغِضَنِي إِلاَّ مُنَافِقٌ
‘Ali said: “By Him Who split up the seed and created something living, the Apostle (ﷺ) gave me a promise that no one but a believer would love me, and none but a hypocrite would nurse a grudge against me.”
Sahih Muslim 78 · Narrated by Ali ibn Abi Talib · Translation adapted from Sunnah.com
Imam Muslim placed this hadith in his Book of Faith, among the signs of iman. Loving the people Allah and His Messenger ﷺ love is part of faith itself, and Sahih al-Bukhari has a similar hadith about the Ansar.
Try this: when Ali’s name comes up, say “may Allah be pleased with him” and mean it.
4. How Ali got the name Abu Turab
Sahl ibn Sa‘d (may Allah be pleased with him) tells how Ali came by the nickname he loved most.
جَاءَ رَسُولُ اللَّهِ صلى الله عليه وسلم بَيْتَ فَاطِمَةَ، فَلَمْ يَجِدْ عَلِيًّا فِي الْبَيْتِ فَقَالَ أَيْنَ ابْنُ عَمِّكِ. قَالَتْ كَانَ بَيْنِي وَبَيْنَهُ شَىْءٌ، فَغَاضَبَنِي فَخَرَجَ فَلَمْ يَقِلْ عِنْدِي. فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم لإِنْسَانٍ انْظُرْ أَيْنَ هُوَ. فَجَاءَ فَقَالَ يَا رَسُولَ اللَّهِ، هُوَ فِي الْمَسْجِدِ رَاقِدٌ، فَجَاءَ رَسُولُ اللَّهِ صلى الله عليه وسلم وَهْوَ مُضْطَجِعٌ، قَدْ سَقَطَ رِدَاؤُهُ عَنْ شِقِّهِ، وَأَصَابَهُ تُرَابٌ، فَجَعَلَ رَسُولُ اللَّهِ صلى الله عليه وسلم يَمْسَحُهُ عَنْهُ وَيَقُولُ قُمْ أَبَا تُرَابٍ، قُمْ أَبَا تُرَابٍ
Allah’s Messenger (ﷺ) went to Fatima’s house but did not find ‘Ali there. So he asked, “Where is your cousin?” She replied, “There was something between us and he got angry with me and went out. He did not sleep (his midday nap) in the house.” Allah’s Messenger (ﷺ) asked a person to look for him. That person came and said, “O Allah’s Messenger (ﷺ)! He is sleeping in the mosque.” Allah’s Messenger (ﷺ) went there and ‘Ali was lying down. His upper body cover had fallen down to one side of his body and he was covered with dust. Allah’s Messenger (ﷺ) started cleaning the dust from him, saying: “Get up, O Aba Turab! Get up, O Aba Turab!” (literally: O father of dust).
Sahih al-Bukhari 441 · Narrated by Sahl ibn Sa‘d · Translation adapted from Sunnah.com
A small quarrel between husband and wife, and Ali went to sleep it off in the mosque. The Prophet ﷺ did not scold him or take sides. He went to him himself, brushed the dust off his back and gave him a playful name, “father of dust.” In another report in Sahih al-Bukhari, Sahl says Ali loved no name more than this one.
Try this: the next time someone in your family is upset, go to them first and start with something gentle.
5. Better than a servant
Ali (may Allah be pleased with him) tells how he and Fatimah asked for help with the hard work at home.
أَنَّ فَاطِمَةَ ـ عَلَيْهَا السَّلاَمُ ـ اشْتَكَتْ مَا تَلْقَى مِنَ الرَّحَى مِمَّا تَطْحَنُ، فَبَلَغَهَا أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم أُتِيَ بِسَبْىٍ، فَأَتَتْهُ تَسْأَلُهُ خَادِمًا فَلَمْ تُوَافِقْهُ، فَذَكَرَتْ لِعَائِشَةَ، فَجَاءَ النَّبِيُّ صلى الله عليه وسلم فَذَكَرَتْ ذَلِكَ عَائِشَةُ لَهُ، فَأَتَانَا وَقَدْ دَخَلْنَا مَضَاجِعَنَا، فَذَهَبْنَا لِنَقُومَ فَقَالَ عَلَى مَكَانِكُمَا حَتَّى وَجَدْتُ بَرْدَ قَدَمَيْهِ عَلَى صَدْرِي فَقَالَ أَلاَ أَدُلُّكُمَا عَلَى خَيْرٍ مِمَّا سَأَلْتُمَاهُ، إِذَا أَخَذْتُمَا مَضَاجِعَكُمَا فَكَبِّرَا اللَّهَ أَرْبَعًا وَثَلاَثِينَ، وَاحْمَدَا ثَلاَثًا وَثَلاَثِينَ، وَسَبِّحَا ثَلاَثًا وَثَلاَثِينَ، فَإِنَّ ذَلِكَ خَيْرٌ لَكُمَا مِمَّا سَأَلْتُمَاهُ
Fatima complained of what she suffered from the hand mill and from grinding, when she got the news that some captives had been brought to Allah’s Messenger (ﷺ). She went to him to ask for a servant, but she could not find him, and told ‘Aisha of her need. When the Prophet (ﷺ) came, ‘Aisha informed him of that. The Prophet (ﷺ) came to our house when we had gone to our beds. We were going to get up, but he said, “Keep to your places,” and I felt the coolness of the Prophet’s feet on my chest. Then he said, “Shall I tell you of a thing which is better than what you asked me for? When you go to your beds, say ‘Allahu Akbar’ 34 times, ‘Al-hamdu lillah’ 33 times, and ‘Subhan Allah’ 33 times. This is better for you than what you have requested.”
Sahih al-Bukhari 3113 · Narrated by Ali ibn Abi Talib · Translation adapted from Sunnah.com
The family of the Prophet ﷺ lived simply. Fatimah’s hands were sore from the hand mill, yet instead of a servant the Prophet ﷺ gave his daughter and son-in-law a dhikr for bedtime. We explain it step by step in Tasbih Fatima: the dhikr before sleep better than a servant.
Try this: say it tonight in bed: SubhanAllah 33, Alhamdulillah 33, Allahu Akbar 34.
6. For whomever I am his mawla
This short hadith is reported by Abu Sarihah (Hudhayfah ibn Asid) or Zayd ibn Arqam; the narrator Shu‘bah was unsure which of the two.
مَنْ كُنْتُ مَوْلاَهُ فَعَلِيٌّ مَوْلاَهُ
The Prophet (ﷺ) said: “For whomever I am his Mawla, then ‘Ali is his Mawla.”
Jami‘ at-Tirmidhi 3713 · Sahih (Darussalam) · Narrated by Abu Sarihah or Zayd ibn Arqam · Translation from Sunnah.com
A plain-meaning note: Imam at-Tirmidhi called this hadith hasan gharib, and Darussalam grades it Sahih. Mawla is an Arabic word with a wide range of meanings, including a close friend, ally, helper and patron. At its plainest, the hadith ties love and support for Ali to love for the Prophet ﷺ, in the same spirit as hadith 3. Muslims have drawn further conclusions from it; this article keeps to its words and grade and leaves that discussion to qualified scholars.
Who was Ali ibn Abi Talib? Bringing it together
Put these six hadith side by side and a picture forms. Ali ibn Abi Talib was brave enough to carry the flag at Khaybar, trusted enough to be left in charge of Madinah, close enough to the Prophet ﷺ to be teased and comforted by him, and humble enough to live with the hard work of the hand mill at home. Each hadith says something about him, and also something about how the Prophet ﷺ treated the people he loved.
Reflection: I notice how ordinary some of these moments are: a quarrel at home, a nap in the mosque, sore hands from housework. The Companions were not angels. What made them great was what they did with ordinary days, and that is the part we can copy.
Questions people ask
Who was Ali ibn Abi Talib?
He was the cousin of the Prophet ﷺ, raised in his house, one of the first people to accept Islam, the husband of Fatimah and the father of al-Hasan and al-Husayn. He was the fourth caliph after Abu Bakr, Umar and Uthman (may Allah be pleased with them all), and one of the ten promised Paradise.
Is “I am the city of knowledge and Ali is its gate” authentic?
The closest version on Sunnah.com is “I am the house of wisdom, and ‘Ali is its door” (Jami‘ at-Tirmidhi 3723). It is graded Da‘if (Darussalam), and at-Tirmidhi himself called it gharib munkar. We do not use it as a hadith; the six above are authentic.
Are the Ali ibn Abi Talib quotes shared online authentic?
Many quotes shared online under his name come with no source at all, so we cannot vouch for them. Before sharing a saying, ask for a reference with a chain and a grade. The hadith on this page are sayings of the Prophet ﷺ about Ali, each linked to Sunnah.com.
Key lessons

- Love Allah and His Messenger ﷺ in what you do, and hope for their love in return (Muslim 2406).
- There is no prophet after the Prophet Muhammad ﷺ (Bukhari 4416).
- Love for Ali is a sign of faith; hatred of him is a sign of hypocrisy (Muslim 78).
- Correct the people you love gently, as the Prophet ﷺ did with Ali (Bukhari 441).
- Dhikr before sleep is better than a servant (Bukhari 3113).
Part of our Companions series: see all our articles on the Companions.
May Allah be pleased with Ali, and give us a share of his courage and his love for Allah and His Messenger ﷺ.
Save this to Pinterest so you can come back to these six hadith about Ali

Share the reward. Send this article to someone who needs it today — teaching a hadith or dua can become a lasting good deed for you, in shaa Allah.






