Narrated ‘Uthman b. Abul ‘As said he heard God’s Messenger say:
David had an hour during the night in which he would waken his family and say, “Family of David, get up and pray, for this is an hour in which God who is great and glorious answers petitions, except to a magician or a tax-gatherer.”
He told of a man who came to the Prophet and said, “So and so prays at night, and when morning comes he steals.” He replied, “What you say will restrain him.”
Ahmad and Baihaqi, in Shu'ab al-iman, transmitted it.
‘Abdallah b. ‘Amr b. al-‘As reported God’s Messenger as saying to him, “Don’t be like so and so, ‘Abdallah. He used to get up during the night, then abandoned the practice.”