Sunan Ibn Majah, Volume 2, Book 7, Hadith 1712 (DarusSalam) ⓘ
It was narrated from ‘Abdullah bin ‘Amr that the Messenger of Allah said: “The most beloved fast to Allah is the fast of Dawud, for he used to fast one day and not the next. And the most beloved of prayer to Allah is the prayer of Dawud; he used to sleep half of the night, pray one-third of the night and sleep one-sixth of the night.”
حَدَّثَنَا أَبُو إِسْحَاقَ الشَّافِعِيُّ، إِبْرَاهِيمُ بْنُ مُحَمَّدِ بْنِ الْعَبَّاسِ حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنْ عَمْرِو بْنِ دِينَارٍ، قَالَ سَمِعْتُ عَمْرَو بْنَ أَوْسٍ، قَالَ سَمِعْتُ عَبْدَ اللَّهِ بْنَ عَمْرٍو، يَقُولُ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " أَحَبُّ الصِّيَامِ إِلَى اللَّهِ صِيَامُ دَاوُدَ كَانَ يَصُومُ يَوْمًا وَيُفْطِرُ يَوْمًا وَأَحَبُّ الصَّلاَةِ إِلَى اللَّهِ صَلاَةُ دَاوُدَ كَانَ يَنَامُ نِصْفَ اللَّيْلِ وَيُصَلِّي ثُلُثَهُ وَيَنَامُ سُدُسَهُ " .
also referenced under: Hadith 1712 (Reference) & Book 7, Hadith 1783 (In-Book)