Abdullah bin Amr bin As reported,

The Prophet ﷺ said, "The most beloved fasting to Allah is the fasting of Dawud. He used to fast every other day. And the most beloved prayer to Allah عز وجل is the prayer of Dawud عليه السلام. He used to sleep for half of the night, then stand in prayer, then sleep during its last portion. He would pray during one-third of the night after its first half."The narrator said, I asked Amr bin Dinar, "Was it Amr bin Aws who used to say, 'He would stand in prayer during one-third of the night after its first half'?"He replied, "Yes."

Muslim 2740

Sahih

و حدثني محمد بن رافع حدثنا عبد الرزاق أخبرنا ابن جريج أخبرني عمرو بن دينار أن عمرو بن أوس أخبره

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

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

مسلم 2740صحيح
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 2740
Muslim 2740