Amr ibn Abasah [May Allah be pleased him] reports that he heard the Prophet Muhammad [May Allah's peace & blessings be upon him] say: “The closest that a slave comes to his Lord is during the middle of the latter portion of the night. If you can be among those who remember Allah, the Exalted One, at that time then do so.” This is related by al-Hakim who grades it sahih according to Muslim’s standards, and at-Tirmizhi calls it hasan sahih. AnNasa’i and Ibn Khuzaimah also recorded it.

‘Abdullah ibn ‘Amr [May Allah be pleased with him] reported that the Prophet Muhammad [May Allah's peace & blessings be upon him] said: “The most beloved fast to Allah is the fast of David. And the most beloved prayer to Allah is the prayer of David. He would sleep half of the night and then pray during the next third of the night and then sleep during the last sixth of the night. And he would fast one day and not fast the next.” This is related by the group except at-Tirmizhi.