Abdullah bin Amr bin As reported,

The Messenger of Allah ﷺ said to him, "Fast one day, and you will have the reward of the remaining days."He said, "I am capable of more than that."The Prophet said, "Fast two days, and you will have the reward of the remaining days."He said, "I am capable of more than that."The Prophet said, "Fast three days, and you will have the reward of the remaining days."He said, "I am capable of more than that."The Prophet said, "Fast four days, and you will have the reward of the remaining days."He said, "I am capable of more than that."The Prophet said, "Then fast the most excellent of fasts in the sight of Allah, the fast of Dawud عليه السلام. He used to fast one day and break his fast the next."

Muslim 2742

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا غندر عن شعبة ح و حدثنا محمد بن المثنى حدثنا محمد بن جعفر حدثنا شعبة عن زياد بن فياض قال سمعت أبا عياض

عن عبد الله بن عمرو رضي الله عنهما

أن رسول الله ﷺ قال له صم يوما ولك أجر ما بقي قال إني أطيق أكثر من ذلك قال صم يومين ولك أجر ما بقي قال إني أطيق أكثر من ذلك قال صم ثلاثة أيام ولك أجر ما بقي قال إني أطيق أكثر من ذلك قال صم أربعة أيام ولك أجر ما بقي قال إني أطيق أكثر من ذلك قال صم أفضل الصيام عند الله صوم داود عليه السلام كان يصوم يوما ويفطر يوما

مسلم 2742صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Fasting
Chapter
Prohibition of perpetual fasting for one who is harmed by it or neglects a right because of it or does not break fast on the two Eids and Tashriq, and explanation of the virtue of fasting one day and breaking fast one day
Numbering
Darussalam 2742
Muslim 2742