Sahih al-Bukhari, Volume 1, Book 12, Hadith 763 (USC-MSA)

Narrated Anas: The qunut [supplication before going down for prostration] used to be recited in the Maghrib and the Fajr prayers.

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

sunnah.com