Is the exchange of pits for dates with pits removed permissible?

Chapter on Riba (Usury) and Exchange (Sarf)

Al-Mughni

Book of Sales

Book 12 · Issue 6 · Bab 3

Open in Qurani

Primary text

It is permissible to exchange pits for dates with pits removed, both equally and unequally, because they are considered two distinct genera.