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.”
{ إِلاَّ تَنْفِرُوا يُعَذِّبْكُمْ عَذَابًا أَلِيمًا } وَ { مَا كَانَ لأَهْلِ الْمَدِينَةِ } إِلَى قَوْلِهِ { يَعْمَلُونَ } نَسَخَتْهَا الآيَةُ الَّتِي تَلِيهَا { وَمَا كَانَ الْمُؤْمِنُونَ لِيَنْفِرُوا كَافَّةً }