
The Prayer, the Prayer: The Last Instruction of the Prophet ﷺ
In this article · 6
Ali ibn Abi Talib reports that the last words the Prophet ﷺ spoke were: "Prayer, prayer; fear Allah about those whom your right hands possess" (Sunan Abi Dawud 5156, graded sahih by al-Albani). In the same illness, Aisha reports, he asked 4 times whether the people had prayed, and fainted 3 times trying to get up.
This page tells the story of those last days from the reports themselves: what each one says, where it is recorded, and how the graders judged it. Every hadith here was read on sunnah.com. Where the sources are silent, this page is silent too.
The Words Ali Heard
In the Book of Manners (Kitab al-Adab) of his Sunan, in a chapter on the rights of slaves, Abu Dawud records from Ali:
"The last words which the Messenger of Allah (ﷺ) spoke were: Prayer, prayer; fear Allah about those whom your right hands possess." (Sunan Abi Dawud 5156)
In Arabic the instruction is short enough to hold in one breath: «الصَّلاَةَ الصَّلاَةَ اتَّقُوا اللَّهَ فِيمَا مَلَكَتْ أَيْمَانُكُمْ».
Imam Ahmad records the same words from Ali in his Musnad, at number 585. Notice what is not in them: no word about wealth, succession or battles. Two things were left to the believers at the very end: the prayer, and the people of a household who had the least say over their own lives.
How Sound Are the Reports?
The words are reported from three Companions, and the graders do not judge every chain the same way. Here is each report as sunnah.com gives it.
| Report | Narrator | What it says | Grade on sunnah.com |
|---|---|---|---|
| Sunan Abi Dawud 5156 | Ali | His last words: the prayer, the prayer, and those your right hands possess | Sahih (al-Albani) |
| Musnad Ahmad 585 | Ali | The same words | Hadith sahih, its chain hasan (Darussalam) |
| Sunan Ibn Majah 2698 | Ali | His last words: the prayer, and those your right hands possess, by the same chain | Da'if (Darussalam) |
| Sunan Ibn Majah 1625 | Umm Salamah | He kept saying it in his last illness until his tongue could no longer utter it | Da'if (Darussalam) |
| Sunan Ibn Majah 2697 | Anas ibn Malik | It was what he most enjoined as he was dying | Da'if (Darussalam) |
So the graders differ. Al-Albani holds Ali's report in Abu Dawud sound, and the Darussalam editors of the Musnad hold it sound, while the Darussalam editors of Ibn Majah grade his three reports weak, Ali's among them. This page leans on Ali's report as the first two graders hold it, and tells the reports of Umm Salamah and Anas only as weak by the grade sunnah.com shows.
There is one more report to set beside them. Aisha, on whose thigh his head rested as death came, says in Sahih al-Bukhari 4463, sahih by al-Bukhari's own standard, that "the last word he spoke was, 'O Allah! (with) the highest companion.'"
The sources read here do not say how her words and Ali's fit together, and this page does not guess. Each Companion told what they heard.
"Have the People Prayed?"
The fullest account of those days comes through Ubaidullah ibn Abdullah ibn Utba, who asked Aisha to describe the illness of the Prophet ﷺ. Her answer is in Sahih al-Bukhari 687, sahih by al-Bukhari's own standard.
He became seriously ill and asked whether the people had prayed. "We replied, 'No. O Allah's Apostle! They are waiting for you,'" Aisha says. He asked for water in a trough, bathed, tried to get up, and fainted.
When he came round, his first question was the same: had the people prayed? They were still waiting. Water again, a bath again, and he fainted again. It happened a third time. When he came round after the third, he asked a fourth time: "Have the people prayed?"
All that while, the people stayed in the mosque, waiting for him for the Isha prayer. Then he sent word to Abu Bakr to lead the people in prayer.
Abu Bakr, Aisha says, "was a softhearted man". He asked Umar to lead instead, and Umar answered: "You are more rightful." So Abu Bakr led the prayer in those days.
Later the Prophet ﷺ felt a little better and came out for the Zuhr prayer, held up by two men. Aisha named one, al-Abbas; Ibn Abbas later named the other: Ali. Abu Bakr saw him and began to step back, but the Prophet ﷺ signalled to him to stay, and sat down beside him.
Aisha describes it: "Abu Bakr was following the Prophet (in the prayer) and the people were following Abu Bakr. The Prophet (prayed) sitting."
Read it again slowly. A man too weak to stand kept asking one question, and when he could not lead, he made sure someone would.
The Last Look at the Rows
Anas ibn Malik tells what happened on the last morning, in Sahih al-Bukhari 680, sahih by al-Bukhari's own standard. Abu Bakr led the people through the illness "till it was Monday."
That day, as the people stood in rows for the prayer, the Prophet ﷺ "lifted the curtain of his house" and looked at them, standing. Anas says: "His face was (glittering) like a page of the Qur'an and he smiled cheerfully."
The Companions nearly broke their prayer for joy at seeing him. Abu Bakr stepped back to join the row, thinking the Prophet ﷺ would come out to lead. But he "beckoned us to complete the prayer and he let the curtain fall." Anas ends: "On the same day he died."
The report says what he saw, not what he thought, and this page will not add to it. What it shows is enough: on his last morning, he looked at his community standing in rows for the prayer, without him, and smiled.
The Prayer and Those in Your Care
Ali's report joins two things: the prayer, and those "whom your right hands possess", the slaves of a household, the people with the least say over their own days. Abu Dawud placed the hadith in his chapter on their rights. The sources read here stop there, and so does this page.
The prayer was not a new instruction at the end. The Qur'an tells him: "And enjoin prayer upon your family [and people] and be steadfast therein" (20:132).
Here is one step for this week. When an adhan comes, ask his question before anything else: have I prayed? Then ask it, gently, of one person in your house. Not as a test, but as he asked it, as someone who cares that they have.
If the phone is what pulls you past the adhan, Salah Focus in Deeny Pro keeps the apps you choose closed until you have prayed.
If it helps to see why the time matters, read the difference between praying on time and praying late. To keep it going once the week is over, see how to build consistency one prayer at a time, and the five daily prayers explained if someone in your house is starting out.
Abu Bakr, Umar and Ali, who stand in these reports, are among the ten Companions promised Paradise.
Frequently Asked Questions
What were the last words of the Prophet ﷺ?
Ali reports that his last words were: "Prayer, prayer; fear Allah about those whom your right hands possess" (Sunan Abi Dawud 5156, graded sahih by al-Albani). Aisha reports in Sahih al-Bukhari 4463 that the last word he spoke was "O Allah! (with) the highest companion." Each Companion told what they heard, and the sources read here do not say how the two fit together.
Is the hadith "the prayer, the prayer" authentic?
Al-Albani grades the report of Ali in Sunan Abi Dawud 5156 sahih, and the Darussalam edition of Musnad Ahmad grades it sahih with a hasan chain (number 585). The Darussalam edition of Sunan Ibn Majah grades its versions weak (1625, 2697 and 2698). The graders differ on the chains.
What does "those whom your right hands possess" mean in this hadith?
It refers to slaves. Abu Dawud placed the hadith in his chapter on the rights of slaves, and the English of Musnad Ahmad 585 on sunnah.com adds "i.e. female slaves". So the instruction joined the prayer to the fear of Allah in how they were treated. For what it means for your own life today, ask a scholar you trust.
Did the Prophet ﷺ pray in congregation during his last illness?
Yes. Aisha reports in Sahih al-Bukhari 687 that he came out for the Zuhr prayer held up by two men and prayed sitting beside Abu Bakr, who followed him while the people followed Abu Bakr. On the Monday he died, Anas reports in Sahih al-Bukhari 680, he lifted the curtain of his house and watched the people pray in rows.
His question, "Have the people prayed?", is a good one to hear at each prayer time. On iPhone, Deeny's reminders for the five prayers are free.
One app instead of three: prayer times, a lock that holds your chosen apps until you've prayed, and a Fajr alarm you can't snooze, with a tracker that shows your progress. Built by Muslims, for Muslims: no ads, your data never sold.
Sources named in this article
- Sunan Abi Dawud 5156
- Sahih al-Bukhari 4463
- Sahih al-Bukhari 687
- Sahih al-Bukhari 680
- Musnad Ahmad 585

Ready for a gentle return?
Deeny helps you pray on time, with accurate prayer times, reminders and the Qibla for free. Deeny Pro gently locks distracting apps until you've prayed and keeps an honest tally. No ads, no sign-up, no selling your data.
Keep reading
Spiritual GrowthWhy Consistency in Salah Matters: Building a Daily Prayer Habit
Islamic GuidelinesPraying On Time vs. Late: What Counts, and Why Tracking the Difference Matters
ReferenceThe Ten Companions Promised Paradise: Who They Were and What They Left Us
Islamic GuidelinesThe Five Daily Prayers Explained: Times, Rak'ahs, and What Each One Is