Abdullah bin Amr bin As reported,

The Messenger of Allah ﷺ said, "The most beloved fasting to Allah is the fasting of Dawud. He used to fast half of his days. And the most beloved prayer to Allah is the prayer of Dawud. He used to sleep half of the night, then rise, then sleep at its end, praying for a third of the night after the first half."

Ahmad 6921

Sahih

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

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

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

أحمد 6921صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Amr bin As
Numbering
Darussalam 6921
Ahmad 6921