Anas bin Malik reported,

Anas reported that the Prophet ﷺ invoked Allah against those who had killed his companions at the Well of Maunah for thirty mornings, cursing the tribes of Ril, Dhakwan, Lihyan, and Usayyah, saying, "Usayyah disobeyed Allah and His Messenger."Anas said, "Allah revealed to His Prophet concerning those who were killed at the Well of Maunah a passage of Quran that we used to recite until it was later abrogated. It read, 'Inform our people that we have met our Lord, and He is pleased with us, and we are pleased with Him.'"

Azami 11074

Sahih

عن أنس بن مالك قال

دعا النبي ﷺ على الذين قتلوا- يعني أصحابه- ببئر معونة ثلاثين صباحا، حين يدعو على رغل ولحيان: وعصية عصت الله ورسوله قال أنس: فأنزل الله تعالى لنبيه في الذين قتلوا- أصحاب بئر معونة- قرآنا قرأناه حتى نسخ بعد: بلغوا قومنا فقد لقينا ربنا، فرضي عنا، ورضينا عنه.

الأعظمي 11074صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications of adhan and prayer, and what is related to them
Section
Qunut in prayers when calamity befalls the Muslims
Numbering
Jami al-Kamil 11074 (2nd edition)
Azami 11074