عَنْ أَبِي هُرَيْرَةَ عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «فَلَمْ تَحِلَّ الْغَنَائِمُ لِأَحَدٍ مِنْ قَبْلِنَا ذَلِكَ بِأَنَّ اللَّهَ رَأَى ضعفنا وعجزنا فطيها لنا»
Translation

Abu Huraira reported Gods Messenger as saying, “Whatever town you come to and stay in, your portion is in it; but whatever town disobeys God and His Messenger, a fifth of it goes to God and His Messenger and what remains is yours.” Muslim transmitted it.