Harith bin Khafaf Ghafari narrates from his father, Sayyiduna Khafaf (may Allah be pleased with him). The Prophet Muhammad (peace be upon him) went into bowing during prayer, then he raised his head and said: "May Allah forgive the tribe of Ghifar, may Allah keep the tribe of Aslam safe, the tribe of 'Usayyah has disobeyed Allah and His Messenger. O Allah! Curse the tribe of Banu Lihyan, O Allah! Curse the tribes of Ri'l and Dhakwan." Then the Prophet Muhammad (peace be upon him) would say takbeer and go into prostration. The narrator states that cursing the disbelievers was done for this reason.
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 1984
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح: م.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده حسن من أجل محمد بن عمرو –وهو ابن علقمة بن وقاص الليثي- فإنه حسن الحديث، خفاف: هو ابن إيماء الغفاري، كان أبوه سيد غفار، وكان هو إمام بني غفار وخطيبهم، شهد الحديبية، وبايع بيعة الرضوان، يعد في المدنيين.