Abdullah bin Amr bin As reported,

The Messenger of Allah ﷺ said, "The most beloved fasting to Allah is the fasting of Dawud, and the most beloved prayer to Allah is the prayer of Dawud عليه السلام. He would sleep for half the night, stand in prayer for a third of it, and sleep for a sixth of it. He would fast one day and break his fast the next."

Muslim 2739

Sahih

و حدثنا أبو بكر بن أبي شيبة وزهير بن حرب قال زهير حدثنا سفيان بن عيينة عن عمرو بن دينار عن عمرو بن أوس

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

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

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