حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ الرَّحِيمِ، حَدَّثَنَا سَعِيدُ بْنُ سُلَيْمَانَ، حَدَّثَنَا هُشَيْمٌ، أَخْبَرَنَا أَبُو بِشْرٍ، عَنْ سَعِيدِ بْنِ جُبَيْرٍ، قَالَ قُلْتُ لاِبْنِ عَبَّاسٍ سُورَةُ التَّوْبَةِ قَالَ التَّوْبَةُ هِيَ الْفَاضِحَةُ، مَا زَالَتْ تَنْزِلُ وَمِنْهُمْ وَمِنْهُمْ، حَتَّى ظَنُّوا أَنَّهَا لَمْ تُبْقِ أَحَدًا مِنْهُمْ إِلاَّ ذُكِرَ فِيهَا‏.‏ قَالَ قُلْتُ سُورَةُ الأَنْفَالِ‏.‏ قَالَ نَزَلَتْ فِي بَدْرٍ‏.‏ قَالَ قُلْتُ سُورَةُ الْحَشْرِ‏.‏ قَالَ نَزَلَتْ فِي بَنِي النَّضِيرِ‏.‏

Narrated Sa`id bin Jubair: I asked Ibn `Abbas about Surat Al-Tauba, and he said, "Surat Al-Tauba? It is exposure (of all the evils of the infidels and the hypocrites). And it continued revealing (that the oft-repeated expression): '...and of them ...and of them.' till they started thinking that none would be left unmentioned therein." I said, "What about) Surat Al-Anfal?" He replied, "Surat Al-Anfal was revealed in connection with the Badr Battle." I said, "(What about) Surat Al-Hashr?" He replied, "It was revealed in connection with Bani an-Nadir." Translation Not Available

Book Ref: Sahih Bukhari Book 65 Hadith 4882
Web Ref:  Sahih Bukhari Vol 6 Book 60 Hadith 404