Sahih al Bukhari 1001
Witr Prayer
حَدَّثَنَا مُسَدَّدٌ، قَالَ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ أَيُّوبَ، عَنْ مُحَمَّدٍ، قَالَ سُئِلَ أَنَسٌ أَقَنَتَ النَّبِيُّ صلى الله عليه وسلم فِي الصُّبْحِ قَالَ نَعَمْ. فَقِيلَ لَهُ أَوَقَنَتَ قَبْلَ الرُّكُوعِ قَالَ بَعْدَ الرُّكُوعِ يَسِيرًا.
Narrated Muhammad bin Seereen:Anas was asked, "Did the Prophet (ﷺ) recite Qunut in the Fajr prayer?" Anas replied in the affirmative. He was further asked, "Did he recite Qunut before bowing?" Anas replied, "He recited Qunut after bowing for some time (for one month)
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.