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. He invoked Allah against the tribes of Rial, Lihyan, and Usayyah, who had disobeyed Allah and His Messenger.Anas said, "Allah revealed to His Prophet concerning those who killed his companions at the Well of Maunah a passage of Quran which we recited until it was later abrogated, 'Convey to our people that we have met our Lord, and He is pleased with us and we are pleased with Him.'"

Azami 2841

Sahih

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

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

الأعظمي 2841صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Witr prayer
Section
Recommendation of qunut in prayers when a calamity befalls the Muslims, and saying it aloud
Numbering
Jami al-Kamil 2841 (2nd edition)
Azami 2841