Jami` at-Tirmidhi 3129
Narrated Ubayy bin Ka'b:
"On the Day of Uhud, sixty-four of the Ansar were killed, and six from the Muhajirin, one of whom was Hamzah, and they mutilated them, so the Ansar said: 'If, (in the future) we are able to kill them on a day like this, we would mutilate from among them as twice as they (mutilate from among us).'" He said: "So on the day of the Conquest of Makkah, Allah revealed: And if you punish them, then punish them with the like of that with which you were afflicted. But if you have patience, then it is better for those who are patient (16:126). So a man said: 'There shall be no Quraish after today.' But the Messenger of Allah (ﷺ) said: 'Leave the people, except for four.'"
حَدَّثَنَا أَبُو عَمَّارٍ الْحُسَيْنُ بْنُ حُرَيْثٍ، حَدَّثَنَا الْفَضْلُ بْنُ مُوسَى، عَنْ عِيسَى بْنِ عُبَيْدٍ، عَنِ الرَّبِيعِ بْنِ أَنَسٍ، عَنْ أَبِي الْعَالِيَةِ، قَالَ حَدَّثَنِي أُبَىُّ بْنُ كَعْبٍ، قَالَ لَمَّا كَانَ يَوْمُ أُحُدٍ أُصِيبَ مِنَ الأَنْصَارِ أَرْبَعَةٌ وَسِتُّونَ رَجُلاً وَمِنَ الْمُهَاجِرِينَ سِتَّةٌ فِيهِمْ حَمْزَةُ فَمَثَّلُوا بِهِمْ فَقَالَتِ الأَنْصَارُ لَئِنْ أَصَبْنَا مِنْهُمْ يَوْمًا مِثْلَ هَذَا لَنُرْبِيَنَّ عَلَيْهِمْ قَالَ فَلَمَّا كَانَ يَوْمُ فَتْحِ مَكَّةَ فَأَنْزَلَ اللَّهُ ‏(‏ وَإِنْ عَاقَبْتُمْ فَعَاقِبُوا بِمِثْلِ مَا عُوقِبْتُمْ بِهِ وَلَئِنْ صَبَرْتُمْ لَهُوَ خَيْرٌ لِلصَّابِرِينَ ‏)‏ فَقَالَ رَجُلٌ لاَ قُرَيْشَ بَعْدَ الْيَوْمِ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ كُفُّوا عَنِ الْقَوْمِ إِلاَّ أَرْبَعَةً ‏"‏ ‏.‏ قَالَ هَذَا حَدِيثٌ حَسَنٌ غَرِيبٌ مِنْ حَدِيثِ أُبَىِّ بْنِ كَعْبٍ ‏.‏