Sahih al-Bukhari, Book 9, Hadith 60 (Bukhari 571)

Narrated Ibn `Umar:

Allah's Messenger (ﷺ) said, "None of you should try to pray at sunrise or sunset."