Al-Aswad ibn Yazid said that he entered upon Aisha and asked her about the prayer of the Messenger of Allah (ﷺ) during the night. She said: He used to pray thirteen rak'ahs during the night. Then he began to pray eleven rak'ahs and left two rak'ahs. When he died, he would pray nine rak'ahs during the night. His last prayer during the night was witr.