وَمَا كَانَ لِنَبِىٍّ اَنۡ يَّغُلَّؕ وَمَنۡ يَّغۡلُلۡ يَاۡتِ بِمَا غَلَّ يَوۡمَ الۡقِيٰمَةِ ۚ ثُمَّ تُوَفّٰى كُلُّ نَفۡسٍ مَّا كَسَبَتۡ وَهُمۡ لَا يُظۡلَمُوۡنَ(آل عمران :161)
Wama kana linabiyyin an yaghulla waman yaghlul yati bima ghalla yawma alqiyamati thumma tuwaffa kullu nafsin ma kasabat wahum la yuthlamoona
Sahih International:
It is not [attributable] to any prophet that he would act unfaithfully [in regard to war booty]. And whoever betrays, [taking unlawfully], will come with what he took on the Day of Resurrection. Then will every soul be [fully] compensated for what it earned, and they will not be wronged.
Complete Indexing of Quran Topics
We have indexed and found 1 verse about or related to (including the word(s)) "Prophet, Illegal for prophets".
For your information, the verse as described above: