How was the prayer of the Messenger of Allah ﷺ during Ramadan?She replied, "The Messenger of Allah ﷺ never prayed more than eleven units, whether in Ramadan or outside of it. He would pray four units, do not ask about their beauty and length, then he would pray another four, do not ask about their beauty and length, and then he would pray three."Ayesha said, "I asked, 'Messenger of Allah, do you sleep before performing the witr prayer?'He answered, 'Ayesha, my eyes sleep, but my heart does not sleep.'"
حدثنا القعنبي عن مالك عن سعيد بن أبي سعيد المقبري عن أبي سلمة بن عبد الرحمن أنه أخبره أنه سأل
كيف كانت صلاة رسول الله ﷺ في رمضان فقالت ما كان رسول الله ﷺ يزيد في رمضان ولا في غيره على إحدى عشرة ركعة يصلي أربعا فلا تسأل عن حسنهن وطولهن ثم يصلي أربعا فلا تسأل عن حسنهن وطولهن ثم يصلي ثلاثا قالت عائشة رضي الله عنها فقلت يا رسول الله أتنام قبل أن توتر قال يا عائشة إن عيني تنامان ولا ينام قلبي
Bukhari narrated it in tahajjud, chapter on the Prophet's ﷺ night prayer in Ramadan and other times, no. 1147, and Muslim narrated it in the prayer of travellers, chapter on night prayer and the number of rakahs the Prophet ﷺ prayed at night, etc, no. 737, from the hadith of Malik through this chain, and it is found in Muwatta (Yahya): 1/120.