(32) باب مَنْ لَمْ يَكْرَهِ الصَّلاَةَ إِلاَّ بَعْدَ الْعَصْرِ وَالْفَجْرِ
Narrated Ibn `Umar:
I pray as I saw my companions praying. I do not forbid praying at any time during the day or night except at sunset and sunrise.
Reference: Sahih al-Bukhari 589
In-book reference: Book 9, Hadith 65
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 10, Hadith 563