Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
hakim:5940Muḥammad b. Ṣāliḥ b. Hāniʾ > al-Faḍl b. Muḥammad al-Shaʿrānī > Saʿīd b. Abū Maryam > Yaḥyá b. Ayyūb > ʿUbaydullāh b. Zaḥr > ʿAlī b. Yazīd > al-Qāsim > Abū Umāmah > Abū Ayyūb al-Anṣārī

[Machine] The Messenger of Allah ﷺ stayed with me for a month, and I observed his every action. I saw him, when the sun set or moved away, reject worldly possessions if they were in his hands, and if he was sleeping, he would be awakened and stand up to perform ablution and pray. Then he would perform four units of prayer, perfecting and beautifying them. When he intended to depart, I said, "O Messenger of Allah, you stayed with me for a month, and I wished that you stayed longer. So, I observed your every action, and I saw you, when the sun set or moved away, reject worldly possessions if they were in your hands and focus on prayer." The Messenger of Allah ﷺ said, "Indeed, the gates of heaven are opened at that hour. So, do not miss the opportunity to have the gates of heaven and the gates of Paradise opened for you until you perform this prayer." He then said, "I loved to ascend to my Lord in those hours, as it is better and my actions would be raised at the beginning of the actions of the worshippers." [This hadith has been narrated by Al-Dhahabi, who excluded it from the summarization as it is considered weak.]  

الحاكم:٥٩٤٠حَدَّثَنَا مُحَمَّدُ بْنُ صَالِحِ بْنِ هَانِئٍ ثَنَا الْفَضْلُ بْنُ مُحَمَّدٍ الشَّعْرَانِيُّ ثَنَا سَعِيدُ بْنُ أَبِي مَرْيَمَ قَالَ أَنَا يَحْيَى بْنُ أَيُّوبَ عَنْ عُبَيْدِ اللَّهِ بْنِ زَحْرٍ عَنْ عَلِيِّ بْنِ يَزِيدَ عَنِ الْقَاسِمِ عَنْ أَبِي أُمَامَةَ عَنْ أَبِي أَيُّوبَ الْأَنْصَارِيِّ قَالَ

نَزَلَ عَلَيَّ رَسُولُ اللَّهِ ﷺ شَهْرًا فَنَقَبْتُ فِي عَمَلِهِ كُلِّهِ فَرَأَيْتُهُ «إِذَا زَالَتْ أَوْ زَاغَتِ الشَّمْسُ أَوْ كَمَا قَالَ إِنْ كَانَ فِي يَدِهِ عَمَلُ الدُّنْيَا رَفَضَهُ وَإِنْ كَانَ نَائِمًا فَكَأَنَّمَا يُوقَظُ لَهُ فَيَقُومُ فَيَغْسِلُ أَوْ يَتَوَضَّأُ فَيُصَلِّي ثُمَّ يَرْكَعُ أَرْبَعَ رَكَعَاتٍ يُتِمَّهُنَّ وَيُحْسِنُهُنَّ وَيَتَمَكَّنُ فِيهِنَّ» فَلَمَّا أَرَادَ أَنْ يَنْطَلِقَ قُلْتُ يَا رَسُولَ اللَّهِ مَكَثْتَ عِنْدِي شَهْرًا وَوَدِدْتُ أَنَّكَ مَكَثْتَ أَكْثَرَ مِنْ ذَلِكَ فَنَقِبْتُ فِي عَمَلِكَ كُلِّهِ فَرَأَيْتُكَ «إِذَا زَالَتِ الشَّمْسُ أَوْ زَاغَتْ فَإِنْ كَانَ فِي يَدِكَ عَمَلُ الدُّنْيَا رَفَضْتَهُ وَأَخَذْتَ فِي الصَّلَاةِ» فَقَالَ رَسُولُ اللَّهِ ﷺ «إِنَّ أَبْوَابَ السَّمَاءِ يُفَتَّحْنَ فِي تِلْكَ السَّاعَةِ فَلَا تُرْتَجَنَّ أَبْوَابُ السَّمَاءِ وَأَبْوَابُ الْجَنَّةِ حَتَّى تُصَلَّى هَذِهِ الصَّلَاةُ فَأَحْبَبْتُ أَنْ يَصْعَدَ إِلَى رَبِّي فِي تِلْكَ السَّاعَاتِ خَيْرٌ وَأَنْ يُرْفَعَ عَمَلِي فِي أَوَّلِ عَمَلِ الْعَابِدِينَ» حذفه الذهبي من التلخيص لضعفه  


See similar narrations below:

Collected by Ṭabarānī
tabarani:3854Yaḥyá b. Ayyūb al-ʿAllāf al-Miṣrī > Saʿīd b. Abū Maryam > Yaḥyá b. Ayyūb > ʿUbaydullāh b. Zaḥr > ʿAlī b. Yazīd > al-Qāsim > Abū Umāmah > Abū Ayyūb al-Anṣārī

[Machine] The Messenger of Allah ﷺ spent a month with me, and I witnessed that when the sun was rising or setting, he would refuse to engage in any worldly matters. And if he was sleeping, it was as if he had been awakened, so he would get up, perform ablution or take a bath, then he would pray four units of prayer with completion, excellence, and strength. When he intended to leave, I said, "O Messenger of Allah ﷺ , what do you think of yourself when the sun is rising or setting? If you have any worldly affairs in your hands, you refuse them, or if you are asleep, it is as if you have been awakened, so you perform ablution or take a bath, then you pray four units of prayer with completion, excellence, and strength?" The Messenger of Allah ﷺ said, "Indeed, the gates of heaven or the gates of Paradise are opened at that time, and no one misses this prayer. So I wanted to ascend to my Lord at that time, as it is better."  

الطبراني:٣٨٥٤حَدَّثَنَا يَحْيَى بْنُ أَيُّوبَ الْعَلَّافُ الْمِصْرِيُّ ثنا سَعِيدُ بْنُ أَبِي مَرْيَمَ أَنَا يَحْيَى بْنُ أَيُّوبَ عَنْ عُبَيْدِ اللهِ بْنِ زَحْرَ عَنْ عَلِيِّ بْنِ يَزِيدَ عَنِ الْقَاسِمِ عَنْ أَبِي أُمَامَةَ عَنْ أَبِي أَيُّوبَ الْأَنْصَارِيِّ قَالَ

نَزَلَ عَلَيَّ رَسُولُ اللهِ ﷺ شَهْرًا فَرَأَيْتُهُ إِذَا مَالَتِ الشَّمْسُ أَوْ زَالَتِ الشَّمْسُ أَوْ كَمَا قَالَ فَإِنْ كَانَ فِي عَمِلٍ مِنَ الدُّنْيَا رَفَضَ بِهِ وَإِنْ كَانَ نَائِمًا فَكَأَنَّمَا أُوقِظَ فَيَقُومُ فَيَغْتَسِلُ أَوْ يَتَوَضَّأُ ثُمَّ يَرْكَعُ أَرْبَعَ رَكَعَاتٍ يُتِمُّهُنَّ ويُحْسِنُهُنَّ ويَتَمَكَّنُ فِيهِنَّ فَلَمَّا أَرَادَ أَنْ يَنْطَلِقَ قُلْتُ يَا رَسُولَ اللهِ ﷺ أَرَأَيْتَكَ إِذَا مَالَتِ الشَّمْسُ أَوْ زَالَتْ فَإِنْ كَانَ فِي يَدِكَ عَمَلٌ مِنَ الدُّنْيَا رَفَضْتَ أَوْ كُنْتَ نَائِمًا فَكَأَنَّمَا تُوقَظُ فَتَغْتَسِلُ أَوْ تَتَوَضَّأُ ثُمَّ تَرْكَعُ أَرْبَعَ رَكَعَاتٍ تُتِمُهُّنَّ وتَتَمَكَّنُ فِيهِنَّ وتُحْسِنُهُنَّ؟ فَقَالَ رَسُولُ اللهِ ﷺ «إِنَّ أَبْوَابَ السَّمَاءِ أَوْ أَبْوَابَ الْجَنَّةِ تُفْتَحْنَ فِي تِلْكَ السَّاعَةِ فَلَا يُوَافِي أَحَدٌ بِهَذِهِ الصَّلَاةِ فَأَحْبَبْتُ أَنْ يَصْعَدَ مِنِّي إِلَى رَبِّي فِي تِلْكَ السَّاعَةِ خَيْرٌ»