Hadithcore
Sunan Abi Dawud, 2505
hasan· Al-Albani

Ibn ‘Abbas said “The Qur’anic verse “Unless you go forth, He will punish you with a grievous penalty, and the verse “It is not fitting for the people of Medina”... up to “that Allaah might required their deed with the best (possible reward) have been repealed by the verse. Nor should the believers all go forth together.”

حَدَّثَنَا أَحْمَدُ بْنُ مُحَمَّدٍ الْمَرْوَزِيُّ، حَدَّثَنِي عَلِيُّ بْنُ الْحُسَيْنِ، عَنْ أَبِيهِ، عَنْ يَزِيدَ النَّحْوِيِّ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، قَالَ ‏{‏ إِلاَّ تَنْفِرُوا يُعَذِّبْكُمْ عَذَابًا أَلِيمًا ‏}‏ وَ ‏{‏ مَا كَانَ لأَهْلِ الْمَدِينَةِ ‏}‏ إِلَى قَوْلِهِ ‏{‏ يَعْمَلُونَ ‏}‏ نَسَخَتْهَا الآيَةُ الَّتِي تَلِيهَا ‏{‏ وَمَا كَانَ الْمُؤْمِنُونَ لِيَنْفِرُوا كَافَّةً ‏}‏

References2 variants
In-Book Reference
Book 15, Hadith 29
English Reference
Book 14, Hadith 2499