Indeed, Allah was pleased with the believers when they pledged allegiance unto you (O Messenger) under that shady tree. For, He knew what was in their hearts, and so He sent down upon them inner peace, and rewarded them by opening the gates to a quick Victory. (48:10).