Sahih Bukhari | Volume 3 | Hadith Number 326

Narrated by Ibn 'Umar
The Prophet said, "No deal is settled and finalized unless the buyer and the seller separate, except if the deal is optional (whereby the validity of the bargain depends on the stipulations agreed upon)."