Sahih Bukhari | Volume 1 | Hadith Number 563

Narrated by 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.