"On the Day of Khaibar I purchased a necklace that contained gold and jewels for twelve Dinar. I separated it and found that it was worth more than twelve Dinar. I mentioned that to the Prophet (ﷺ) and he said: 'Do not sell it until it is separated.'"
Jami` at-Tirmidhi Book 14, Hadith 55