The Fasting of Dawud: Alternate Days in Sahih al-Bukhari and Muslim

A valley at first light, evoking a day of fasting that begins at dawn and leaves room for rest

By Dr. Malik Sherjeel Awan, PsyD

Published by Dr. Malik Sherjeel Awan, Makkah

The Qur’an praises Prophet Dawud (David), peace be upon him, as “one who repeatedly turned back [to Allāh]” (38:17). The Sunnah then describes a pattern of worship he was given: a way of praying at night, and a way of fasting on alternate days. The Prophet Muhammad ﷺ called those fasts the most beloved fasts to Allah, and he also stopped a companion from trying to do more than that.

This page explains the fasting of Dawud from Sahih al-Bukhari and Sahih Muslim, with the wording checked on sunnah.com. It is not a command for every reader to adopt that pattern, and it is not medical advice. Anyone with a health condition should take advice from a qualified clinician before changing how they fast.

The most beloved fasts

Abdullah ibn Amr ibn al-As reported that Allah’s Messenger ﷺ told him: “The most beloved prayer to Allah is that of David and the most beloved fasts to Allah are those of David. He used to sleep for half of the night and then pray for one third of the night and again sleep for its sixth part and used to fast on alternate days.” (Sahih al-Bukhari 1131)

Two things are named together: a night prayer with sleep before and after, and a fast that falls on alternate days. Dawud did not stay awake the whole night, and he did not fast every day. The pattern has room for rest. That matters, because the same companion had wanted to pray all night and fast every day for the rest of his life.

Why the Prophet ﷺ taught it to Abdullah ibn Amr

Sahih al-Bukhari 1976 records the conversation at more length. Abdullah had taken an oath to fast daily and to pray every night throughout his life. The Prophet ﷺ told him he could not do that, and first offered him a lighter pattern: fast a few days and break a few days; pray and also sleep; fast three days a month, “as the reward of good deeds is multiplied ten times and that will be equal to one year of fasting.” When Abdullah asked for more, the Prophet ﷺ said, “Fast one day and give up fasting for two days.” Abdullah said he could do better. Then the Prophet ﷺ said, “Fast one day and give up fasting for a day and that is the fasting of Prophet David and that is the best fasting.” Abdullah said he had the power to fast more than that. The Prophet ﷺ replied, “There is no better fasting than that.” (Sahih al-Bukhari 1976)

A related wording in Sahih al-Bukhari 1979 adds that Dawud “would never flee from the battle field, on meeting the enemy.” The fasting is mentioned with courage, not with exhaustion. In Sahih Muslim 1159, after the same teaching, Abdullah later said that if he had accepted the three days each month, “it would have been more dear to me than my family and my property.” What looked possible in youth was heavier later. The Prophet ﷺ had been protecting him.

What this is, and what it is not

The fasting of Dawud is a Sunnah description of a prophet’s practice, recommended in this hadith as the best of fasts. It is not a substitute for the fast of Ramadan, which is an obligation in its own right. It is not a requirement upon every Muslim. The Prophet ﷺ himself offered Abdullah lighter options first. A person who already finds the obligatory fast difficult, or who is ill, travelling, pregnant or otherwise excused, should not treat this page as pressure to add more.

The hadith also does not fix a medical benefit, a weight target, or a promised worldly result. We do not add one. If you are considering a regular voluntary fast, including alternate-day fasting, ask a knowledgeable teacher about the fiqh, and a clinician if your health needs that care. This site does not give those rulings or those clinical judgements.

How it sits with Dawud in the Qur’an

The Qur’an describes Dawud as an excellent servant who repeatedly turned back to Allah (38:17, 38:30). He was given a kingdom, wisdom and discernment in speech (38:20). The same man is mentioned as a judge (38:21–26) and, with his son Sulayman, as someone given knowledge (27:15). The hadith about his fast fits that picture of a servant who worshipped with regularity and still had strength for the duties given to him. For the story of Dawud and Jalut, see Dawud and Jalut. For Dawud as a judge, see Dawud as judge and ruler.

A balanced reading for today

  • The best pattern is not the most exhausting one. Abdullah wanted to do more. The Prophet ﷺ stopped him.
  • Sleep is part of the worship described. Dawud slept half the night and a sixth of it. Night prayer in this hadith is not sleeplessness.
  • Begin with what you can sustain. Three days a month was offered first, and Abdullah later wished he had taken it.
  • Do not turn a Sunnah into a contest. “There is no better fasting than that” was said to end an attempt to outdo Dawud’s pattern, not to shame anyone who does less.

FAQ

What is the fasting of Dawud? To fast one day and not fast the next, as in Sahih al-Bukhari 1131 and 1976.

Did the Prophet ﷺ say it is the best fasting? Yes, to Abdullah ibn Amr: “that is the fasting of Prophet David and that is the best fasting,” and “There is no better fasting than that.” (Sahih al-Bukhari 1976)

Must every Muslim fast this way? No. The hadith is a teaching about a recommended pattern. The Prophet ﷺ also offered lighter options, and this page does not prescribe the pattern as an obligation.

Does this replace Ramadan? No. The obligatory fast of Ramadan is separate.

In this series · All stories of the prophets

Previous: Dawud as judge and ruler

Next: Sulayman and the ant

Related reading

Qur’an translations are from Sahih International. Hadith checked on sunnah.com. Educational reflection, not a religious ruling.

Sources