Sahih Muslim Book 10, Hadith Number 3660.

Chapter : Both the buyers and the sellers have the option to withdraw the transaction before leaving the meeting (where the bargain is struck).

Ibn Umar reported Allah’s Messenger (may peace be upon him) as saying: There is no transaction between two persons entering a transaction until they separate, but only when there is an option to annul it.