Abu Hurairah reported,

He told them that the Prophet ﷺ performed the qunut for a month after the bowing in prayer. When he said, "Allah hears whoever praises Him," he would say in his qunut, "O Allah, save Walid bin Walid. O Allah, save Salama bin Hisham. O Allah, save Ayyash bin Abu Rabia. O Allah, save the oppressed among the believers. O Allah, tighten Your grip on Mudar. O Allah, make it for them years like the years of Yusuf."Abu Hurairah said, "Then I saw that the Messenger of Allah ﷺ later stopped this supplication, so I said, 'I see that the Messenger of Allah ﷺ has stopped praying for them.'"It was said, "Do you not see that they have already arrived?"

Muslim 1542

Sahih

حدثنا محمد بن مهران الرازي حدثنا الوليد بن مسلم حدثنا الأوزاعي عن يحيى بن أبي كثير عن أبي سلمة أن

أبا هريرة

حدثهم أن النبي ﷺ قنت بعد الركعة في صلاة شهرا إذا قال سمع الله لمن حمده يقول في قنوته اللهم أنج الوليد بن الوليد اللهم نج سلمة بن هشام اللهم نج عياش بن أبي ربيعة اللهم نج المستضعفين من المؤمنين اللهم اشدد وطأتك على مضر اللهم اجعلها عليهم سنين كسني يوسف قال أبو هريرة ثم رأيت رسول الله ﷺ ترك الدعاء بعد فقلت أرى رسول الله ﷺ قد ترك الدعاء لهم قال فقيل وما تراهم قد قدموا

مسلم 1542صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Mosques and places of prayer
Chapter
Recommendation of qunut in all prayers when a calamity befalls the Muslims
Numbering
Darussalam 1542
Muslim 1542