Sahih al-Bukhari 589
Book 9: Times of the Prayers · Narrated by Ibn `Umar
Arabic
حَدَّثَنَا أَبُو النُّعْمَانِ، حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ أَيُّوبَ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، قَالَ أُصَلِّي كَمَا رَأَيْتُ أَصْحَابِي يُصَلُّونَ، لاَ أَنْهَى أَحَدًا يُصَلِّي بِلَيْلٍ وَلاَ نَهَارٍ مَا شَاءَ، غَيْرَ أَنْ لاَ تَحَرَّوْا طُلُوعَ الشَّمْسِ وَلاَ غُرُوبَهَا.
English translation
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, Book of Times of the Prayers. English translation by Dr. Muhammad Muhsin Khan.