Sahih al-Bukhari 1004
Sahih al-Bukhari · Book 14: Witr Prayer · To recite Qunut before and after bowing
Narrated Anas:
حَدَّثَنَا مُسَدَّدٌ ، قَالَ حَدَّثَنَا إِسْمَاعِيلُ ، قَالَ حَدَّثَنَا خَالِدٌ ، عَنْ أَبِي قِلاَبَةَ ، عَنْ أَنَسٍ ، قَالَ كَانَ الْقُنُوتُ فِي الْمَغْرِبِ وَالْفَجْرِ.
The Qunut used to be recited in the Maghrib and the Fajr prayers.