Language:
كتاب التوحيد
97  
Oneness, Uniqueness of Allah (Tawheed)
(27)
Chapter: The creation of the heavens, earth and other created beings
(27)
باب مَا جَاءَ فِي تَخْلِيقِ السَّمَوَاتِ وَالأَرْضِ وَغَيْرِهَا مِنَ الْخَلاَئِقِ
Sahih al-Bukhari 7452

Narrated Ibn `Abbas:

Once I stayed overnight at the house of (my aunt ) Maimuna while the Prophet (ﷺ) was with her, to see how was the night prayer of Allah s Apostle Allah's Messenger (ﷺ) talked to his wife for a while and then slept. When it was the last third of the night (or part of it), the Prophet (ﷺ) got up and looked towards the sky and recited the Verse:-- 'Verily! In the creation of the Heavens and the Earth....there are indeed signs for the men of understanding.' (3.190) Then He got up and performed the ablution, brushed his teeth and offered eleven rak`at. Then Bilal pronounced the Adhan whereupon the Prophet (ﷺ) offered a two-rak`at (Sunna) prayer and went out to lead the people in Fajr (morning compulsory congregational prayer.

حَدَّثَنَا سَعِيدُ بْنُ أَبِي مَرْيَمَ، أَخْبَرَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، أَخْبَرَنِي شَرِيكُ بْنُ عَبْدِ اللَّهِ بْنِ أَبِي نَمِرٍ، عَنْ كُرَيْبٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ بِتُّ فِي بَيْتِ مَيْمُونَةَ لَيْلَةً وَالنَّبِيُّ صلى الله عليه وسلم عِنْدَهَا لأَنْظُرَ كَيْفَ صَلاَةُ رَسُولِ اللَّهِ صلى الله عليه وسلم بِاللَّيْلِ، فَتَحَدَّثَ رَسُولُ اللَّهِ صلى الله عليه وسلم مَعَ أَهْلِهِ سَاعَةً ثُمَّ رَقَدَ، فَلَمَّا كَانَ ثُلُثُ اللَّيْلِ الآخِرُ أَوْ بَعْضُهُ قَعَدَ فَنَظَرَ إِلَى السَّمَاءِ فَقَرَأَ ‏{‏إِنَّ فِي خَلْقِ السَّمَوَاتِ وَالأَرْضِ‏}‏ إِلَى قَوْلِهِ ‏{‏لأُولِي الأَلْبَابِ‏}‏ ثُمَّ قَامَ فَتَوَضَّأَ وَاسْتَنَّ، ثُمَّ صَلَّى إِحْدَى عَشْرَةَ رَكْعَةً، ثُمَّ أَذَّنَ بِلاَلٌ بِالصَّلاَةِ فَصَلَّى رَكْعَتَيْنِ، ثُمَّ خَرَجَ فَصَلَّى لِلنَّاسِ الصُّبْحَ‏.‏
Reference : Sahih al-Bukhari 7452
In-book reference : Book 97, Hadith 78
USC-MSA web (English) reference : Vol. 9, Book 93, Hadith 544
  (deprecated numbering scheme)