Abdullah bin Amr bin As reported,

The Messenger of Allah ﷺ said to me, "Recite the Quran in a month."I said, "I am able to do more than that."I kept pressing him until he said, "Then in five days."He also said, "Fast three days each month."I said, "I am able to do more than that."I kept pressing him until he said, "Then observe the fast most beloved to Allah عز وجل, the fast of Dawud. He used to fast one day and break his fast the next."

Nasai 2402

Sahih

أخبرنا محمد بن بشار قال حدثنا محمد قال حدثنا شعبة عن عمرو بن دينار عن أبي العباس

عن عبد الله بن عمرو قال

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

النسائي 2402صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Fasting
Chapter
Fasting ten days of the month and the differences in wording among narrators of the hadith of Abdullah bin Amr concerning it
Numbering
Darussalam 2402
Nasai 2402