It is to be made on the spot. This is what I heard (from Allah's Messenger (may peace be…

Sahih Muslim Book 22 Hadith 112

Sahih Muslim #1590 a

The Book of Musaqah 22:112

Abd al-Rabman b. Abia Bakra reported on the authority of his father that Allah's Messenger (ﷺ) forbade the sale of gold for gold, and silver for silver except equal for equal, and commanded us to buy silver for gold as we desired and buy gold for silver as we desired. A person asked him (about the nature of payment), whereupon he said:

It is to be made on the spot. This is what I heard (from Allah's Messenger (may peace be upon him ).

Chapter: The Prohibition of selling silver for gold to be paid at a later date

Grade: Sahih