۞ Indeed Allah was truly pleased with the believers when they swore allegiance to you beneath the tree – so He knew what was in their hearts – He therefore sent down peace upon them, and rewarded them with an imminent victory. 18 and the booty which they received from it (the Battle). God is Majestic and All-wise. 19 Allah has promised you abundant spoils which you shall acquire. He has instantly granted you this (victory) and has restrained the hands of people from you that it may be a Sign for the believers and He may guide you to a Straight Way. 20 And other gains (there are), which are not within your power, but which Allah has compassed: and Allah has power over all things. 21 If the unbelievers had fought you, they would have turned their backs, and then found neither protector nor helper; 22 Such has been the course of Allah that has indeed run before, and you shall not find a change in Allah's course. 23 And He it is who, in the valley of Mecca, stayed their hands from you, and your hands from them, after He had enabled you to vanquish them; and God saw indeed what you were doing. 24 They are the ones who disbelieved, and barred you from the Holy Mosque and the offering, detained so as not to reach its place of sacrifice. If it had not been for certain men believers and certain women believers whom you knew not, lest you should trample them, and there befall you guilt unwittingly on their account (that God may admit into His mercy whom He will), had they been separated clearly, then We would have chastised the unbelievers among them with a painful chastisement. 25 Since the disbelievers held zealous ignorance in their hearts, like that of the pre-Islamic age of darkness, God gave confidence to His Messenger and to the believers, binding them to the principle of piety which they deserve. God has the knowledge of all things. 26