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.
Hadith ReferenceSahih Muslim / The Book of Mosques and Places of Prayer / Hadith: 677