It is narrated from Sayyiduna Ibn Amr (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: "The best fasting is the fasting of my brother Sayyiduna Dawud (peace be upon him). He would fast one day and leave fasting the next day, and he would not flee when he met (the enemy)."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 6534