(18) باب {إِذْ هَمَّتْ طَائِفَتَانِ مِنْكُمْ أَنْ تَفْشَلاَ وَاللَّهُ وَلِيُّهُمَا وَعَلَى اللَّهِ فَلْيَتَوَكَّلِ الْمُؤْمِنُونَ}
Narrated Jabir:
This Verse: "When two of your parties almost Decided to fall away..." was revealed in our connection, i.e. Bani Salama and Bani Haritha and I would not have liked that, if it was not revealed, for Allah said:-- But Allah was their Protector.....(3.122)
Reference: Sahih al-Bukhari 4051
In-book reference: Book 64, Hadith 97
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 5, Book 59, Hadith 381