Al-Ilmam bi-Ahadith al-Ahkam 341
وَعَن جَابر بن عبد الله رَضِيَ اللَّهُ عَنْه قَالَ: سَمِعت النَّبِي ﷺ يَقُول: " أَيّكُم خَافَ أَن لَا يقوم من آخر اللَّيْل فليوتر، ثمَّ ليرقد، وَمن وثق بِقِيَام (من) اللَّيْل فليوتر من آخِره، فَإِن قِرَاءَة (آخر) اللَّيْل محضورة، وَذَلِكَ أفضل ". انْفَرد بِهِ مُسلم. رَوَاهُ مُسلم (٧٧٥) .
And from Jabir ibn ʿAbdullah, may Allah be pleased with him, who said: I heard the Prophet ﷺ say: "Whoever of you fears that he will not get up at the end of the night, let him pray witr and then sleep. And whoever is confident of standing (at) night, let him pray witr at the end of it, for recitation at the (end of the) night is witnessed, and that is better." Muslim alone narrated it. Muslim narrated it (775).