Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Whatever town you enter and remain in, your share is from it. Whatever town disobeys Allah and His Messenger, a fifth of its spoils belongs to Allah and His Messenger, and the rest is yours."

Azami 12388

Sahih

عن أبي هريرة قال

قال رسول الله ﷺ: أيما قرية أتيتموها وأقمتم فيها، فسهمكم فيها، وأيما قرية عصت الله ورسوله فإن خمسها لله ولرسوله ثم هي لكم.

الأعظمي 12388صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "And know that whatever you obtain of war booty, then indeed for Allah is one fifth of it and for the Messenger and for near relatives and the orphans and the needy and the traveler, if you have believed in Allah and in what We sent down to Our servant on the day of criterion, the day when the two armies met. And Allah is over all things competent"
Numbering
Jami al-Kamil 12388 (2nd edition)
Azami 12388