What is the ruling on exchanging currency (dinar for dirhams) followed immediately by a repurchase from the original seller, if the person first attempted to buy from someone else but failed?

Chapter on Riba (Usury) and Exchange (Sarf)

Al-Mughni

Book of Sales

Book 12 · Issue 3 · Bab 3

Open in Qurani

Primary text

If the person does not care whether they buy from the original seller or another party, the transaction is permissible. This is permitted because the sequence of buying and selling is permissible if the individual has no specific intent to use the sequence as a pre-arranged mechanism.