Ash-Shama'il Al-Muhammadiyah, Book 40, Hadith 265 (In-Book)

Ibn 'Abbaas Radiyallahu 'Anhu reports that he once slept at the house of his aunt Maymunah (during his childhood). She slept on the width of the cushion and Rasulullah Sallallahu 'Alayhi Wasallarn slept on the length of the cushion. (Qaadi 'Iyaad and others have translated pillow as a bed. When the original word means pillow and it is possible to use it in such a manner, it is not necessary to translate it as a bed. For instance, Sayyidina Rasulullah Saliallahu 'Alayhi Wasallam must have slept on the length of the pillow facing the qiblah, and Sayyidina Ibn 'Abbaas Radiyallahu 'Anhu on the breadth of it, putting his head on the qiblah side). Rasulullah Sallallahu 'Alayhi Wasallam (after having a little conversation with his wife) slept till the middle of the night, or till a little before that. Rasulullah Sallallahu 'Alayhi Wasallam then awakened and began wiping off the signs of sleep from his face. He then recited the last ten aayaat of Surah Aali 'Imraan (Inna fi khalqis samaawaati wal ard). (The 'ulama say a little of the Qur-aan should be recited after awakening, as this creates strength and it is mustahab to recite these aayaat). He got up and went to a leather bag that was hanging and (took water in a utensil from it) performed wudu from it. He then commenced his salaah. 'Abdullah bin 'Abbaas Radiyallahu 'Anhu says: 'I also got up (performed wudu) and stood next to-him (on his left). Rasulullah Sallallahu 'Alayhi Wasallam put his right hand on my head and caught my ear and twisted it (A muqtadi should stand on the right side of an Imaam. The ear was twisted to remind him. In one narration it is stated that, I began to sleep, so Sayyidina Rasulullah Sallallahu 'Alayhi Wasallam caught my ear. In another narration it is stated he caught my ear and pulled me to his right side, so that I might stand on the right according to the sunnah). He performed two rak'ahs, then two rak'ahs, then two rak'ahs, then two, rak'ahs, then two rak'ahs, then two rak'ahs. Ma'n (a narrator of this hadith) says Rasulullah Sallallahu'Alayhi Wasallam recited two two rak'ahs six times (the total of twelve rak'ahs. Mulla 'Ali Qaari has written that according to the madh-hab of Imaam Aa'zam Abu Hanifah, in tahajjud prayers there are twelve rak'ahs). He then performed the witr salaah and slept. When the mu-adh-dhin (Sayyidina Bilaal Radiyallahu'Anhu) came to him, he got up and recited two short rak'ahs and went for the fajr salaah.

حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، عَنْ مَالِكِ بْنِ أَنَسٍ ‏(‏ح‏)‏ وَحَدَّثَنَا إِسْحَاقُ بْنُ مُوسَى الأَنْصَارِيُّ، قَالَ‏:‏ حَدَّثَنَا مَعْنٌ، عَنْ مَالِكٍ، عَنْ مَخْرَمَةَ بْنِ سُلَيْمَانَ، عَنْ كُرَيْبٍ، عَنِ ابْنِ عَبَّاسٍ، أَنَّهُ أَخْبَرَهُ، أَنَّهُ بَاتَ عِنْدَ مَيْمُونَةَ وَهِيَ خَالَتُهُ، قَالَ‏:‏ فَاضْطَجَعْتُ فِي عَرْضِ الْوِسَادَةِ، وَاضْطَجَعَ رَسُولُ اللهِ صلى الله عليه وسلم فِي طُولِهَا، فَنَامَ رَسُولُ اللهِ صلى الله عليه وسلم، حَتَّى إِذَا انْتَصَفَ اللَّيْلُ أَوْ قَبْلَهُ بِقَلِيلٍ أَوْ بَعْدَهُ بِقَلِيلٍ، فَاسْتَيْقَظَ رَسُولُ اللهِ صلى الله عليه وسلم، فَجَعَلَ يَمْسَحُ النَّوْمَ عَنْ وَجْهِهِ، ثُمَّ قَرَأَ الْعَشْرَ الآيَاتِ الْخَوَاتِيمَ مِنْ سُورَةِ آلِ عِمْرَانَ، ثُمَّ قَامَ إِلَى شَنٍّ مُعَلَّقٍ فَتَوَضَّأَ مِنْهَا، فَأَحْسَنَ الْوُضُوءَ، ثُمَّ قَامَ يُصَلِّي، قَالَ عَبْدُ اللهِ بْنُ عَبَّاسٍ‏:‏ فَقُمْتُ إِلَى جَنْبِهِ فَوَضَعَ رَسُولُ اللهِ صلى الله عليه وسلم، يَدَهُ الْيُمْنَى عَلَى رَأْسِي ثُمَّ أَخَذَ بِأُذُنِي الْيُمْنَى، فَفَتَلَهَا فَصَلَّى رَكْعَتَيْنِ، ثُمَّ رَكْعَتَيْنِ، ثُمَّ رَكْعَتَيْنِ، ثُمَّ رَكْعَتَيْنِ، ثُمَّ رَكْعَتَيْنِ، ثُمَّ رَكْعَتَيْنِ، قَالَ مَعْنٌ‏:‏ سِتَّ مَرَّاتٍ ثُمَّ أَوْتَرَ، ثُمَّ اضْطَجَعَ حَتَّى جَاءَهُ الْمُؤَذِّنُ، فَقَامَ فَصَلَّى رَكْعَتَيْنِ خَفِيفَتَيْنِ، ثُمَّ خَرَجَ فَصَلَّى الصُّبْحَ‏.‏

also referenced under: Book 39, Hadith 252 (English)