Abu Qatada reported,

Umar bin Khattab asked, "Messenger of Allah, what about one who fasts two days and breaks his fast for one?"He replied, "Can anyone manage that?"Umar asked, "Messenger of Allah, what about one who fasts a day and breaks his fast a day?"He replied, "That is the fast of Dawud."Umar asked, "What about one who fasts a day and breaks his fast for two?"He replied, "I wish I were given the strength for that."

Azami 4470

Sahih

عن أبي قتادة، قال

قال عمر بن الخطاب: يا رسول الله، كيف بمن يصوم يومين ويفطر يوما؟ قال: ويطيق ذلك أحد؟ قال: يا رسول الله، كيف بمن يصوم يوما ويفطر يوما؟ قال: ذلك صوم داود. قال: كيف بمن يصوم يوما ويفطر يومين؟ قال: وددت أني طوقت ذلك.

الأعظمي 4470صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
Voluntary fasting and encouragement to do it
Section
Most virtuous fasting is the fasting of Dawud عليه السلام
Numbering
Jami al-Kamil 4470 (2nd edition)
Azami 4470