(54) باب اسْتِحْبَابِ الْقُنُوتِ فِي جَمِيعِ الصَّلاَةِ إِذَا نزَلَتْ بِالْمُسْلِمِينَ نَازِلَةٌ
Anas reported that the Messenger of Allah (ﷺ) observed Qunut for one month invoking curse upon some tribes of Arabia (those who were responsible for the murders in Bi'r Ma'una and Raji'), but then abandoned it.
Reference: Sahih Muslim 677 j
In-book reference: Book 5, Hadith 390
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1442
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.