حَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ الْحَنْظَلِيُّ، وَأَحْمَدُ بْنُ عَبْدَةَ، - وَاللَّفْظُ لإِسْحَاقَ - قَالاَ أَخْبَرَنَا سُفْيَانُ، عَنْ عَمْرٍو، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ، قَالَ فِينَا نَزَلَتْ ‏{‏ إِذْ هَمَّتْ طَائِفَتَانِ مِنْكُمْ أَنْ تَفْشَلاَ وَاللَّهُ وَلِيُّهُمَا‏}‏ بَنُو سَلِمَةَ وَبَنُو حَارِثَةَ وَمَا نُحِبُّ أَنَّهَا لَمْ تَنْزِلْ لِقَوْلِ اللَّهِ عَزَّ وَجَلَّ ‏{‏ وَاللَّهُ وَلِيُّهُمَا‏}‏ ‏.‏
Translation
Anas reported that Allah's Messenger (ﷺ) sought forgiveness for the Ansar and he said

I think (he also sought forgiveness) for the children of the Ansar and the slaves and the freed men of the Ansar. I have no doubt about it.