Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:48:19

And much war booty which they will take. And ever is Allah Exalted in Might and Wise.  

and abundant spoils which they will capture, from Khaybar, and God is ever Mighty, Wise, that is to say, He is ever possessed of such attributes.
القرآن:٤٨:١٩

وَمَغَانِمَ كَثِيرَةً يَأْخُذُونَهَا ۗ وَكَانَ اللَّهُ عَزِيزًا حَكِيمًا  

{ومغانم كبيرة يأخذونها} من خيبر {وكان الله عزيزا حكيما} أي لم يزل متصفا بذلك.