Sale of debt (بيع الدين) means selling a monetary receivable to another party. A common example is selling a bill or debt claim before maturity at a discount.
Once a commodity has already been sold and only money remains payable, the seller no longer owns the commodity. What he owns is a monetary claim.