The Prophet of Allah ﷺ used to recite the qunut in the dawn prayer and the sunset prayer.Abu Abdul-Rahman said, "Nothing is narrated from the Prophet ﷺ about reciting the qunut in the sunset prayer except in this hadith, and from Ali as his own statement."
حدثنا محمد بن جعفر حدثنا شعبة عن عمرو بن مرة قال سمعت ابن أبي ليلى قال حدثنا
أن نبي الله ﷺ كان يقنت في صلاة الصبح والمغرب قال أبو عبد الرحمن ليس يروى عن النبي ﷺ أنه قنت في المغرب إلا في هذا الحديث وعن علي قوله