Ibn Abbas reported that he once spent the night at the house of Maymunah, the wife of the Prophet ﷺ, who was his maternal aunt. He said, "I lay down across the width of the pillow, while the Messenger of Allah ﷺ and his wife lay along its length. The Messenger of Allah ﷺ slept until about the middle of the night, a little before it or a little after, when he woke up and sat rubbing the sleep from his face with his hand. Then he recited the last ten verses of Surah Al Imran, the words of Allah Most High, "Indeed, in the creation of the heavens and the earth and in the alternation of night and day there are signs for those endowed with understanding" through to "You who believe, be patient, persevere, stand firm, and be mindful of Allah, so that you may succeed" [Al Imran 3:190–200].
أنه بات ليلة عند ميمونة زوج النبي ﷺ- وهي خالته، قال: فاضطجعت في عرض الوسادة، واضطجع رسول الله ﷺ وأهله في طولها. فنام رسول الله ﷺ حتى إذا انتصف الليل، أو قبله بقليل أو بعده بقليل، استيقظ رسول الله ﷺ فجلس يمسح النوم عن وجهه بيده ثم قرأ العشر الآيات الخواتم من سورة آل عمران وهي قوله تعالى: {إن في خلق السموات والأرض واختلاف اليل والنهار لآيت لأولي الألباب} إلى قوله: {يأيها الذين امنوا اصبروا وصابروا ورابطوا واتقوا الله لعلكم تفلحون} [آل عمران: ١٩٠-٢٠٠].
Malik narrated it in "Prayer at Night" (11) from Makhrama bin Sulayman, from Kurayb, the freed slave of Ibn Abbas, from Abdullah bin Abbas, and he mentioned it. Bukhari narrated it in the tafsir (4572), and Muslim in "Prayer of the Traveler" (763:182), both of them by way of Malik, with the same wording.