Sunan an-Nasa'i
It was narrated from Anas that: The Messenger of Allah (ﷺ) said the Qunut for one month, supplicating against one of the 'Arab tribes, then he stopped doing that."
أَخْبَرَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، قَالَ أَنْبَأَنَا مُعَاذُ بْنُ هِشَامٍ، قَالَ حَدَّثَنِي أَبِي، عَنْ قَتَادَةَ، عَنْ أَنَسٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَنَتَ شَهْرًا يَدْعُو عَلَى حَىٍّ مِنْ أَحْيَاءِ الْعَرَبِ ثُمَّ تَرَكَهُ .
Grade: Sahih (Darussalam)
Reference