"And know that whatever of spoils of war that you may gain, verily, (1/5th) of it is assigned to Allah, and to the Messenger, and to the near relatives (of the Messenger (Muhammad)" "The Khumus (one-fifth) of Allah and of His Messenger is the same. The Messenger of Allah used to provide mounts (for jihad) with it, and give some (to the poor), and distribute it however he wanted, and do with it whatever he wanted."
عَنْ عَطَاءٍ فِي قَوْلِهِ ﷻ { وَاعْلَمُوا أَنَّمَا غَنِمْتُمْ مِنْ شَىْءٍ فَأَنَّ لِلَّهِ خُمُسَهُ وَلِلرَّسُولِ وَلِذِي الْقُرْبَى } قَالَ خُمُسُ اللَّهِ وَخُمُسُ رَسُولِهِ وَاحِدٌ كَانَ رَسُولُ اللَّهِ ﷺ يَحْمِلُ مِنْهُ وَيُعْطِي مِنْهُ وَيَضَعُهُ حَيْثُ شَاءَ وَيَصْنَعُ بِهِ مَا شَاءَ