This sūrah of 73 verses was revealed in the 5th year of the Madīnan period, and derives its name from verse 20, where the word ahzāb (the confederates) occurs, referring to the allied enemy forces that besieged Madīnah. The sūrah concentrates on the Battle of the Trench, which ensued from that siege, and the campaign against the Banū Qurayzah that followed the battle. In addition, the sūrah introduces laws pertaining to marriage and divorce; describes new regulations concerning the law of inheritance and Islamic family life; and discusses the relation between the Prophet, upon him be peace and blessings, and his wives and the Islamic community. It also abolishes a form of adoption that had been an established custom in the pre-Islamic period.
O (most illustrious) Prophet! Keep your duty to God in utmost reverence for Him and piety, and pay no heed to (the offers of) the unbelievers and hypocrites. Surely God is All-Knowing, All-Wise.1