Abdullah bin Amr bin As reported,

The Messenger of Allah ﷺ said to me, "Abdullah, have I not been told that you fast all day and stand in prayer all night?"I replied, "Yes, Messenger of Allah."He said, "Do not do that. Fast and break your fast, pray and sleep. Your body has a right over you, your eyes have a right over you, your wife has a right over you, and your guest has a right over you. It is enough for you to fast three days each month, for every good deed is rewarded tenfold, and that amounts to fasting the entire year."But I pushed myself harder, so it was made harder for me. I said, "Messenger of Allah, I find that I have the strength."He said, "Then fast the fast of the Prophet of Allah Dawud عليه السلام, and do not exceed it."I asked, "And what was the fast of the Prophet of Allah Dawud عليه السلام?"He answered, "Half of the year."After he grew old, Abdullah used to say, "If only I had accepted the concession of the Prophet ﷺ."

Bukhari 1975

Sahih

حدثنا محمد بن مقاتل أخبرنا عبد الله أخبرنا الأوزاعي قال حدثني يحيى بن أبي كثير قال حدثني أبو سلمة بن عبد الرحمن قال حدثني

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

لي رسول الله ﷺ يا عبد الله ألم أخبر أنك تصوم النهار وتقوم الليل فقلت بلى يا رسول الله قال فلا تفعل صم وأفطر وقم ونم فإن لجسدك عليك حقا وإن لعينك عليك حقا وإن لزوجك عليك حقا وإن لزورك عليك حقا وإن بحسبك أن تصوم كل شهر ثلاثة أيام فإن لك بكل حسنة عشر أمثالها فإن ذلك صيام الدهر كله فشددت فشدد علي قلت يا رسول الله إني أجد قوة قال فصم صيام نبي الله داود عليه السلام ولا تزد عليه قلت وما كان صيام نبي الله داود عليه السلام قال نصف الدهر فكان عبد الله يقول بعد ما كبر يا ليتني قبلت رخصة النبي ﷺ

البخاري 1975صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Fasting
Chapter
Right of the body in fasting
Numbering
Darussalam 1975
Bukhari 1975