The Book of Fasting (Kitab Al-Sawm)

Muslim :: Book 6 : Hadith 2595

'Abdullah b. 'Amr (Allah be pleased with both of them) reported Allah's Messenger (may peace be upon him) as saying: With Allah the best fasting is that of David and the best prayer is that of David (peace be upon him) for he slept half of the night and stood for prayer for the third of it and (then) slept the sixth part of it and he observed fast one day and broke on the other.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star