Sahih Muslim Book 4, Hadith Number 1433.

Chapter : Who deserves most to act as Imam.

Anas b. Malik reported that the Messenger of Allah (may peace be upon him) invoked curse in the morning (prayer) for thirty days upon those who killed the Companions (of the Holy Prophet) at Bi’r Ma’una. He cursed (the tribes) of Ri’l, Dhakwan, Lihyan, and Usayya, who had disobeyed Allah and His Messenger (may peace be upon him). Anas said: Allah the Exalted and Great revealed (a verse) regarding those who were killed at Bi’r Ma’una, and we recited it, till it was abrogated later on (and the verse was like this): ,convey to it our people the tidings that we have met our Lord, and He was pleased with us and we were pleased with Him”.