Sahih al-Bukhari, Hadith 1004 ⓘ

Narrated Anas: The Qunut used to be recited in the Maghrib and the Fajr prayers.

حَدَّثَنَا مُسَدَّدٌ، قَالَ حَدَّثَنَا إِسْمَاعِيلُ، قَالَ حَدَّثَنَا خَالِدٌ، عَنْ أَبِي قِلاَبَةَ، عَنْ أَنَسٍ، قَالَ كَانَ الْقُنُوتُ فِي الْمَغْرِبِ وَالْفَجْرِ‏.‏

sunnah.com