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.
tabarani:7007ʿAbdān b. Aḥmad > Duḥaym > Yaḥyá b. Ḥassān > Sulaymān b. Mūsá > Jaʿfar b. Sulaymān b. Saʿd b. Samurah > Khubayb b. Sulaymān > Abīh Sulaymān > Samurah b. Jundub

[Machine] The Messenger of Allah ﷺ used to command us to pray at any hour we wish during the day and night, except that he commanded us to avoid the rising and setting of the sun. He said: "Indeed, the Devil goes away with it and comes out with it when it rises."  

الطبراني:٧٠٠٧حَدَّثَنَا عَبْدَانُ بْنُ أَحْمَدَ ثنا دُحَيْمٌ ثنا يَحْيَى بْنُ حَسَّانَ ثنا سُلَيْمَانُ بْنُ مُوسَى ثنا جَعْفَرُ بْنُ سُلَيْمَانَ بْنِ سَعْدِ بْنِ سَمُرَةَ حَدَّثَنِي خُبَيْبُ بْنُ سُلَيْمَانَ عَنْ أَبِيهِ سُلَيْمَانَ عَنْ سَمُرَةَ بْنِ جُنْدُبٍ قَالَ

كَانَ رَسُولُ اللهِ ﷺ يَأْمُرُنَا أَنْ نُصَلِّيَ أَيَّةَ سَاعَةٍ شِئْنَا مِنَ اللَّيْلِ وَالنَّهَارِ غَيْرَ أَنَّهُ أَمَرَنَا أَنْ نَتَجَنَّبَ طُلُوعَ الشَّمْسِ وَغُرُوبَهَا وَقَالَ «إِنَّ الشَّيْطَانَ يَغِيبُ مَعَهَا وَيَطْلُعُ مَعَهَا حِينَ تَطْلُعُ»  


See similar narrations below:

Collected by Ṭabarānī
tabarani:7008Mūsá b. Hārūn > Marwān b. Jaʿfar al-Samurī > Muḥammad b. Ibrāhīm b. Khubayb b. Sulaymān b. Samurah b. Jundub > Jaʿfar b. Saʿd b. Samurah > Khubayb from his father > Samurah b. Jundub

[Machine] The Messenger of Allah ﷺ used to command us to pray at any hour of the day or night, except that he instructed us to avoid the rising and setting of the sun, and he said, "Indeed, Satan disappears with it when it disappears and appears with it when it appears."  

الطبراني:٧٠٠٨حَدَّثَنَا مُوسَى بْنُ هَارُونَ ثنا مَرْوَانُ بْنُ جَعْفَرٍ السَّمُرِيُّ ثنا مُحَمَّدُ بْنُ إِبْرَاهِيمَ بْنِ خُبَيْبِ بْنِ سُلَيْمَانَ بْنِ سَمُرَةَ بْنِ جُنْدُبٍ عَنْ جَعْفَرِ بْنِ سَعْدِ بْنِ سَمُرَةَ عَنْ خُبَيْبٍ عَنْ أَبِيهِ عَنْ سَمُرَةَ بْنِ جُنْدُبٍ قَالَ

كَانَ رَسُولُ اللهِ ﷺ يَأْمُرُنَا أَنْ نُصَلِّيَ أَيَّةَ سَاعَةٍ شِئْنَا مِنَ اللَّيْلِ وَالنَّهَارِ غَيْرَ أَنَّهُ أَمَرَنَا أَنْ نَجْتَنِبَ طُلُوعَ الشَّمْسِ وَغُرُوبَهَا وَقَالَ «إِنَّ الشَّيْطَانَ يَغِيبُ مَعَهَا حِينَ تَغِيبُ وَيَطْلُعُ مَعَهَا حِينَ تَطْلُعُ»