I heard the Prophet ﷺ say, "Whoever among you fears that he will not rise at the end of the night should perform witr and then sleep. And whoever is confident he will rise at night should perform witr at the end of it, for the recitation at the end of the night is witnessed, and that is better."
و حدثني سلمة بن شبيب حدثنا الحسن بن أعين حدثنا معقل وهو ابن عبيد الله عن أبي الزبير
سمعت النبي ﷺ يقول أيكم خاف أن لا يقوم من آخر الليل فليوتر ثم ليرقد ومن وثق بقيام من الليل فليوتر من آخره فإن قراءة آخر الليل محضورة وذلك أفضل