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."
حدثنا محمد بن بكر وعبد الرزاق قالا حدثنا ابن جريج وروح قال أخبرنا ابن جريج أخبرني عمرو بن دينار أن عمرو بن أوس أخبره
أن رسول الله ﷺ قال أحب الصيام إلى الله صيام داود كان يصوم نصف الدهر وأحب الصلاة إلى الله صلاة داود كان يرقد شطر الليل ثم يقوم ثم يرقد آخره ثم يقوم ثلث الليل بعد شطره