A man from among the people of the desert asked the Messenger of Allah (ﷺ) about prayer at night. He said:"(It is) two by two, and Witr is one rak'ah at the end of the night."
The Messenger of Allah (ﷺ) said: "Prayer at night is two by two, then when you want to finish, pray one rak'h which will make the total number that you prayed odd."
A man asked the Messenger of Allah (ﷺ) about prayer at night and the Messenger of Allah (ﷺ) said: "Prayer at night is two by two, then if one of you fears that dawn will break, pray one rak'ah to make the total number that he prayed odd."
He heard the Messenger of Allah (ﷺ) say: "Prayer at night is two rak'ahs by two rak'ahs, then when you fear tat dawn will break, pray witr with one rak'ah."
He asked Aishah, the Mother of the Believers, about how the Messenger of Allah (ﷺ) used to pray in Ramadan. She said: "The Messenger of Allah (ﷺ) did not pray more than eleven rak'ahs during Ramadan or at any other time. He would pray four, and do not ask how beautiful or how long they were. Then he would pray four, and do not ask how beautiful or how long they were. Then he would pray three." Aishah said: "I said: 'O Messenger of Allah, do you sleep before you pray witr?' He said: 'O Aishah, my eyes sleep but my heart does not.'"