The World Federation One Stop Fiqh

Ruling 2074

If a buyer purchases an item undertaking to pay for it later, but he wishes to pay for it later with unlawful wealth, the transaction is valid. However, he must pay the amount he owes from lawful wealth in order to be absolved of his responsibility [to pay the seller].