Asim Ahwal reported,

I asked Anas bin Malik رضي الله عنه about the qunut in the prayer.He said, "Yes, it was performed."I asked, "Was it before the bowing or after it?"He replied, "Before it."I said, "But so-and-so told me on your authority that you said it was after the bowing."He said, "He lied. The Messenger of Allah ﷺ only made qunut after the bowing for one month. He had sent some people known as the Reciters, seventy men in number, to a group of polytheists who had a treaty with the Messenger of Allah ﷺ. But these people who had a treaty with the Messenger of Allah ﷺ overcame them and killed them. So the Messenger of Allah ﷺ made qunut after the bowing for a month, supplicating against them."

Azami 8886

Sahih

عن عاصم الأحول قال

سألت أنس بن مالك رضي الله عنه عن القنوت في الصلاة؟ فقال: نعم، فقلت: فقلت: كان قبل الركوع أو بعده؟ قال: قبله، قلت: فإن فلانا أخبرني عنك أنك قلت بعده، قال: كذب، إنما قنت رسول الله ﷺ بعد الركوع شهرا: إنه كان بعث ناسا يقال لهم القراء، وهم سبعون رجلا، إلى ناس من المشركين، وبينهم وبين رسول الله ﷺ عهد قبلهم، فظهر هؤلاء الذين كانوا بينهم وبين رسول الله ﷺ عهد، فقنت رسول الله ﷺ بعد الركوع شهرا يدعو عليهم.

الأعظمي 8886صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Events between the battles of Uhud and Ahzab
Section
Martyrdom of the reciters at Bir Maunah in Safar of the year four
Numbering
Jami al-Kamil 8886 (2nd edition)
Azami 8886