عَنْ مُحَمَّدِ بْنِ حُيَيِّ بْنِ يَعْلَى بْنِ أُمَيَّةَ عَنْ أَبِيهِ قَالَ: رَأَيْتُ يَعْلَى يُصَلِّي قَبْلَ أَنْ تَطْلُعَ الشَّمْسُ فَقَالَ لَهُ رَجُلٌ: أَوْ قِيلَ لَهُ: أَنْتَ رَجُلٌ مِنْ أَصْحَابِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ تُصَلِّي قَبْلَ أَنْ تَطْلُعَ الشَّمْسُ؟ قَالَ يَعْلَى: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ يَقُولُ: ((إِنَّ الشَّمْسَ تَطْلُعُ بَيْنَ قَرْنَي شَيْطَانٍ)) قَالَ لَهُ يَعْلَى: فَأَنْ تَطْلُعَ الشَّمْسُ وَأَنْتَ فِي أَمْرِ اللَّهِ خَيْرٌ مِنْ أَنْ تَطْلُعَ وَأَنْتَ لَاهٍ
Huyayy bin Ya'la bin Umayyah says: I saw Sayyiduna Ya'la (may Allah be pleased with him) praying before sunrise. A man said to him: You are among the companions of the Messenger of Allah (peace and blessings be upon him) and you are praying before sunrise? Sayyiduna Ya'la (may Allah be pleased with him) said: I heard the Messenger of Allah (peace and blessings be upon him) say: Indeed, the sun rises between the two horns of Satan. Then Sayyiduna Ya'la (may Allah be pleased with him) said: Now, if at the time of sunrise you are engaged in the command of Allah, then this is better than the sun rising while you are heedless.