باب ماجاء في صوم رسول الله صلى الله عليه وسلم
43  
The Fasting Of Sayyidina Rasoolullah
Ash-Shama'il Al-Muhammadiyah 298
Humaid ibn Anas ibn Malik reported that he was asked about the fasting of the Prophet (Allah bless him and give him peace), so he said:
"He used to fast during the month until we would assume that he did not intend to break fast during it, and he used to break fast until we would assume that he did not intend to fast during any of it. You would not wish to assume that he was performing the ritual prayer during the night, unless you saw him performing the ritual prayer, nor that he was sleeping, unless you saw him sleeping.”
حَدَّثَنَا عَلِيُّ بْنُ حُجْرٍ، قَالَ‏:‏ حَدَّثَنَا إِسْمَاعِيلُ بْنُ جَعْفَرٍ، عَنْ حُمَيْدٍ، عَنْ أَنَسِ بْنِ مَالِكٍ، أَنَّهُ سُئِلَ عَنْ صَوْمِ النَّبِيِّ صلى الله عليه وسلم، فَقَالَ‏:‏ كَانَ يَصُومُ مِنَ الشَّهْرِ حَتَّى نَرَى أَنْ لا يُرِيدَ أَنْ يُفْطِرَ مِنْهُ، وَيُفْطِرُ مِنْهُ حَتَّى نَرَى أَنْ لا يُرِيدَ أَنْ يَصُومَ مِنْهُ شَيْئًا وَكُنْتَ لا تَشَاءُ أَنْ تَرَاهُ مِنَ اللَّيْلِ مُصَلِّيًا إِلا رَأَيْتَهُ مُصَلِّيًا، وَلا نَائِمًا إِلا رَأَيْتَهُ نَائِمًا‏.‏
Grade: Sahih (Zubair Alizai)  صحيح   (Zubair Alizai) حكم   :
Reference : Ash-Shama'il Al-Muhammadiyah 298
In-book reference : Book 43, Hadith 2
Explanation
comments
The object here is that the noble habit of Sayyidina Rasulullah Sallallahu 'Alayhi Wasallam was not to sleep the whole night, neither to remain awake the full night, but adopt a middle course, wherein the rights of the nafs were considered, and also the 'ibaadaat were given its full importance.

Therefore it was possible to observe his sleep at night as he retired for a portion of the night, and also observed the salaah, as part of the night was devoted to prayers. Some of the 'ulama have given another explanation to this, that the noble habit of Sayyidina Rasulullah Sallallahu 'Alayhi Wasallam varied in this respect. At times he performed the nawaafil in the first portion of the night. Sometimes in the middle portion of the night. At times in the last portion of the night. Therefore, if one wanted to observe sleep or salaah at a special time of the night, this too was possible. If one feels that one would like to observe the salaah of Sayyidina Rasulullah Sallallahu 'Alayhi Wasallam at a certain part of the night, then this opportunity could also be obtained, and if one wished to observe the sleep at this time an opportunity could also be obtained at some time. Sayyidina Rasulullah Sallallahu 'Alayhi Wasallam would rotate the time spent in prayer to every portion of the night on different days. We understand two benefits of this. The first is that the main object is worship, and man was created for this reason, resulting in attaining the pleasure of Allah. On every portion of the night, at one time or another, the blessings will be obtained. The second is, that when 'Ibaadah (devotion) is confined to an appointed time, it becomes a sort of habit, then the taste and pleasantness of hardship does not remain. When 'ibaadah is performed at different times of the night it will not become a habit.
Hadith Text
Reference