۞ Certainly was Allah pleased with the believers when they pledged allegiance to you, [O Muhammad], under the tree, and He knew what was in their hearts, so He sent down tranquillity upon them and rewarded them with an imminent conquest 18 and [of] many war-gains which they would achieve: for God is indeed almighty, wise. 19 Allah has promised you many gains that ye shall acquire, and He has given you these beforehand; and He has restrained the hands of men from you; that it may be a Sign for the Believers, and that He may guide you to a Straight Path; 20 And there are yet other [gains] which are still beyond your grasp, [but] which God has already encompassed [for you]: for God has power over all things. 21 And if the disbelievers were to fight you, they will turn away and flee, and then they will not find any supporter nor any aide. 22 [This is] the established way of Allah which has occurred before. And never will you find in the way of Allah any change. 23 It is He who withheld their hands from you, and your hands from them in the valley of Makkah, after giving you victory over them. God sees what you do. 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