I asked ‘A’isha whether she had seen God’s Messenger bathing because of sexual defilement in the early or the latter part of the night, and she replied, ‘‘He often bathed in the early part of the night and often in the latter part.” Thereupon I said, "God is most great. Praise be to God who has given latitude in the matter! ” I then asked whether he observed a witr in the early or the latter part of the night, and she replied, "He often observed it in the early part and often in the latter part of the night.” Thereupon I said, “God is most great. Praise be to God who has given latitude in the matter! ” I then asked whether he recited the Qur’an in a loud or in a low voice, and she replied, “He often recited it in a loud voice and often in a low voice.” Thereupon I said, “God is most great. Praise be to God who has given latitude in the matter!”
Abu Dawud transmitted it, and Ibn Majah transmitted the last section.
Jabir reported God’s Messenger as saying, "If anyone is afraid that he may not get up in the latter part of the night, he should observe a witr in the first part of it; and if anyone is eager to get up in the last part of it he should observe a witr at the end of the night, for prayer at the end of the night is attended by the angels, and that is most excellent.”