Abdullah bin Umar reported,

He used to relate that the Messenger of Allah ﷺ said, "The night prayer is two by two. When you see that dawn is about to overtake you, pray one rakah as witr."Ibn Umar was asked, "What does 'two by two' mean?"He replied, "That you give the salam after every two rakahs."

Muslim 1763

Sahih

حدثنا محمد بن المثنى حدثنا محمد بن جعفر حدثنا شعبة قال سمعت عقبة بن حريث قال سمعت

ابن عمر

يحدث أن رسول الله ﷺ قال صلاة الليل مثنى مثنى فإذا رأيت أن الصبح يدركك فأوتر بواحدة فقيل لابن عمر ما مثنى مثنى قال أن تسلم في كل ركعتين

مسلم 1763صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Travelers' prayer and its shortening
Chapter
Night prayer is two rakats at a time and Witr is one rakat at the end of the night
Numbering
Darussalam 1763
Muslim 1763