Abu Dharr said that God’s Messenger kept awake during the night till morning reciting one verse, which was, “If Thou punishest them they are Thy servants; and if Thou forgivest them Thou art the Mighty, the Wise”(Al-Qur’an; 5:118).
Masruq said he asked ‘A’isha what action was most pleasing to God’s Messenger and she replied that it was what one keeps on doing. He asked at what time he got up at night and she said it was at cockcrow.
Abu Qatada said God’s Messenger went out one night and found Abu Bakr praying in a low voice, and he passed ‘Umar who was raising his voice while praying. When they both were with the Prophet he said, “I passed you, Abu Bakr, when you were praying in a low voice.” He replied, “I made Him hear with whom I was holding intimate converse, Messenger of God.” He said to ‘Umar, “I passed you when you were raising your voice while praying.” He replied, “Messenger of God, I was wakening the drowsy and driving away the devil.” The Prophet said, “Raise your voice a little, Abu Bakr;” and he said to ‘Umar, “Lower your voice a little.”
Abu Dawud transmitted it, and Tirmidhi transmitted something similar.