Is the exchange of the processed product (pits and dates) for another processed product (pits and dates) permissible after removing the pits?

Chapter on Riba (Usury) and Exchange (Sarf)

Al-Mughni

Book of Sales

Book 12 · Issue 4 · Bab 3

Open in Qurani

Primary text

It is impermissible to exchange pits and dates for pits and dates after the pits have been removed because the servitude (dependency/ancillary status) of the pits has ceased upon their removal, rendering the transaction akin to exchanging wheat and dates for wheat and dates.