What is the ruling on exchanging an inherently composite item for one of its constituent parts?

Chapter on Riba (Usury) and Exchange (Sarf)

Al-Mughni

Book of Sales

Book 12 · Issue 2 · Bab 3

Open in Qurani

Primary text

If such an item, like dates containing pits, is exchanged for one of its components, such as the pits alone, there are two narrations from Ahmad concerning its permissibility, which were detailed previously. This signifies a divergence of opinion on such a specific exchange.