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.
Sahih al-Bukhari Book 9, Hadith 64