Hadith 3273

وَلَا تَحَيَّنُوا بِصَلَاتِكُمْ طُلُوعَ الشَّمْسِ وَلَا غُرُوبَهَا فَإِنَّهَا تَطْلُعُ بَيْنَ قَرْنَيْ شَيْطَانٍ أَوِ الشَّيْطَانِ " لَا أَدْرِي أَيَّ ذَلِكَ ، قَالَ هِشَامٌ .
Don't perform a prayer till it sets completely. And you should not seek to pray at sunrise or sunset for the sun rises between two sides of the head of the devil (or Satan).
Hadith Reference Sahih Bukhari / The Book of The Beginning of Creation / Hadith: 3273
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة