Asim bin Sulayman reported,

I asked Anas bin Malik about the qunut.He replied, "The qunut was performed."I asked, "Before the ruku or after it?"He answered, "Before it."I said, "But so-and-so told me that you said it was after the ruku."He said, "He has lied. The Messenger of Allah ﷺ only performed qunut after the ruku for one month. I believe he had sent a group of men called the Qurra, around seventy in number, to a tribe of polytheists. There was a treaty between those polytheists and the Messenger of Allah ﷺ, but a different group attacked and killed the Qurra. So the Messenger of Allah ﷺ performed qunut for a month, supplicating against them."

Azami 2836

Sahih

عن عاصم بن سليمان الأحول قال

سألت أنس بن مالك عن القنوت، فقال: قد كان القنوت. قلت: قبل الركوع أو بعده، قال: قبله. قال: فإن فلانا أخبرني عنك قلت: بعد الركوع، فقال: كذب، إنما قنت رسول الله ﷺ بعد الركوع شهرا، أراه بعث قوما يقال لهم: القراء زهاء سبعين رجلا إلى قوم من المشركين دون أولئك. وكان بينهم وبين رسول الله ﷺ عهد: فقنت رسول الله ﷺ شهرا يدعو عليهم.

الأعظمي 2836صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Witr prayer
Section
Qunut after ruku
Numbering
Jami al-Kamil 2836 (2nd edition)
Azami 2836