Regarding the verse "If you do not march forth, He will punish you with a painful punishment" [Tawbah 9:39], and the verses from "It was not for the people of Madinah" up to His statement "what they used to do" [Tawbah 9:120–121], these were abrogated by the verse that follows them, "And the believers should not all go forth to fight" [Tawbah 9:122].
{إلا تنفروا يعذبكم عذابا} {ما كان لأهل المدينة} إلى قوله: {يعملون} نسختها الآية التي تليها {وما كان المؤمنون لينفروا كافة}
Reported by Abu Dawud (2505), and by way of him Bayhaqi (9/47), from Ahmad bin Muhammad Marwazi, "Ali bin Husayn told me, from his father, from Yazid the grammarian, from Ikrima, from Ibn Abbas," who said, and he mentioned it.This is a hasan chain because of Ali bin Husayn bin Waqid and his father, for they are both graded hasan in hadith. Yazid the grammarian is Yazid bin Abu Saeed Marwazi.