Sahih al-Bukhari 3273
Book 59: Beginning of Creation · Hadith 82
Hadith text
Narrated Ibn `Umar:Allah's Messenger (ﷺ) said, "When the (upper) edge of the sun appears (in the morning), don't perform a prayer till the sun appears in full, and when the lower edge of the sun sets, 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)
Ibn Umar bataate hain: Allah ke Rasool ne kaha, "Jab suraj ka (oopar wala) kinara dikhna shuru ho (subah), namaz mat padho jab tak suraj poora nikal na jaaye, aur jab suraj ka neeche wala kinara doobna shuru ho, namaz mat padho jab tak woh poora doob na jaaye. Aur tumhe suraj ke ugne ya doobne ke waqt namaz padhne ki koshish nahi karni chahiye, kyunke suraj Shaitan ke sar ke do hison ke beech ugta hai."
Sahih al-Bukhari 3273 · Book 59, Hadith 82