"The Messenger of Allah ﷺ prohibited selling the spoils of war until it has been distributed." There is something on this topic from Abu Hurairah.
نَهَى رَسُولُ اللَّهِ ﷺ عَنْ شِرَاءِ الْمَغَانِمِ حَتَّى تُقْسَمَ وَفِي الْبَابِ عَنْ أَبِي هُرَيْرَةَ