Abdullah bin Abbas and Abdullah bin Umar reported,

They were asked about the night prayer of the Messenger of Allah ﷺ, and the two replied that it was thirteen rakahs. Of these, eight were the night prayer, three were the witr, and two were after the dawn.

Ibn Majah 1361

Sahih

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

عبد الله بن عباس وعبد الله بن عمر

عن صلاة رسول الله ﷺ بالليل فقالا ثلاث عشرة ركعة منها ثمان ويوتر بثلاث وركعتين بعد الفجر

ابن ماجه 1361صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
How many prayers are performed at night
Numbering
Darussalam 1361
Ibn Majah 1361