Whoever is sure they can wake up to perform Qiyam-ul-Layl (optional night Prayer) during the last part of the night may delay Witr (Prayer with an odd number of units) and offer it after Qiyam-ul-Layl. Otherwise, the Witr should be performed before one goes to sleep. Nevertheless, if one
sleeps without offering Witr, one may make up for the missed Witr as Shaf` (even-number prayer) after sunrise.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.